Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
John Tourtellott
VTK
Commits
38c8cd8a
Commit
38c8cd8a
authored
Jul 06, 2006
by
David Gobbi
Browse files
BUG: left a bit of debug code in the source by mistake
parent
17063d93
Changes
1
Hide whitespace changes
Inline
Side-by-side
IO/vtkSortFileNames.cxx
View file @
38c8cd8a
...
...
@@ -27,7 +27,7 @@
#include
<ctype.h>
vtkCxxRevisionMacro
(
vtkSortFileNames
,
"1.
5
"
);
vtkCxxRevisionMacro
(
vtkSortFileNames
,
"1.
6
"
);
vtkStandardNewMacro
(
vtkSortFileNames
);
// a container for holding string arrays
...
...
@@ -432,7 +432,7 @@ bool vtkCompareFileNamesNumericIgnoreCase(const vtkstd::string s1,
char
c1
=
s1
[
i1
++
];
char
c2
=
s2
[
i2
++
];
if
(
0
&&
(
c1
>=
'0'
&&
c1
<=
'9'
)
&&
(
c2
>=
'0'
&&
c2
<=
'9'
))
if
((
c1
>=
'0'
&&
c1
<=
'9'
)
&&
(
c2
>=
'0'
&&
c2
<=
'9'
))
{
// convert decimal numeric sequence into an integer
unsigned
int
j1
=
0
;
...
...
@@ -495,7 +495,7 @@ bool vtkCompareFileNamesNumericIgnoreCase(const vtkstd::string s1,
// if strings are otherwise equal, fall back to default to break tie
if
((
i1
==
n1
)
&&
(
i2
==
n2
))
{
return
vtkCompareFileNames
Numeric
(
s1
,
s2
);
return
vtkCompareFileNames
IgnoreCase
(
s1
,
s2
);
}
// otherwise, return false
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment