[vtk-developers] [VTK 0012996]: typing mistake

Mantis Bug Tracker mantis at public.kitware.com
Wed Mar 14 10:36:30 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=12996 
====================================================================== 
Reported By:                leila
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   12996
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    Kitware 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-03-14 10:36 EDT
Last Modified:              2012-03-14 10:36 EDT
====================================================================== 
Summary:                    typing mistake
Description: 
vtkSortFileNames.cxx

line 352 is written
if (0 && (c1 >= '0' && c1 <= '9') && (c2 >= '0' && c2 <= '9'))

whereas it should be

if ((c1 >= '0' && c1 <= '9') && (c2 >= '0' && c2 <= '9'))

This results in incorrect sorting of filenames and removing the extra zero
solves it.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-14 10:36 leila          New Issue                                    
======================================================================




More information about the vtk-developers mailing list