Re: [2/8] cmd: Fix FOR tab handling
24 Aug
2011
24 Aug
'11
12:02 p.m.
Frédéric Delanoy <frederic.delanoy(a)gmail.com> writes:
@@ -902,8 +902,10 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) { WIN32_FIND_DATAW fd; HANDLE hff; int i; - const WCHAR inW[] = {'i', 'n', ' ', '\0'}; - const WCHAR doW[] = {'d', 'o', ' ', '\0'}; + const WCHAR inW[] = {'i', 'n', ' ', '\0'}; + const WCHAR inTabW[] = {'i', 'n', '\t', '\0'}; + const WCHAR doW[] = {'d', 'o', ' ', '\0'}; + const WCHAR doTabW[] = {'d', 'o', '\t', '\0'};
You don't want to duplicate every string this way. This needs some sort of helper function. -- Alexandre Julliard julliard(a)winehq.org
5229
Age (days ago)
5229
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard