[v2 PATCH 1/4] shell32: Added IShellImageData stub

Alex Henrie alexhenrie24 at gmail.com
Tue Feb 7 12:54:58 CST 2017


+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



More information about the wine-devel mailing list