Re: winefile sync with ReactOS
22 Sep
2004
22 Sep
'04
1:33 a.m.
"Martin Fuchs" <martin-fuchs(a)gmx.net> writes:
+ if (order1 && order2) { + order1 = fd1->cFileName[0]!='.'? 1: fd1->cFileName[1]=='.'? 2: fd1->cFileName[1]=='\0'? 3: 1; + order2 = fd2->cFileName[0]!='.'? 1: fd2->cFileName[1]=='.'? 2: fd2->cFileName[1]=='\0'? 3: 1;
You need to check that cFileName[2] == 0 too; but I'd suggest getting rid of the ?: operator abuse first, otherwise this is going to become totally unreadable. -- Alexandre Julliard julliard(a)winehq.org
7755
Age (days ago)
7755
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard