Re: [v2 PATCH 1/4] shell32: Added IShellImageData stub
7 Feb
2017
7 Feb
'17
6:54 p.m.
+static inline WCHAR *strdupW(const WCHAR *src) +{ + WCHAR *dest; + if (!src) return NULL; + dest = HeapAlloc(GetProcessHeap(), 0, (lstrlenW(src) + 1) * sizeof(*dest)); + if (dest) + lstrcpyW(dest, src); + return dest; +} This looks better, but it would still be nice to consistently indent or not indent after the if statements. -Alex
3231
Age (days ago)
3231
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alex Henrie