[PATCH 1/4] shell32: Added IShellImageData stub

Alex Henrie alexhenrie24 at gmail.com
Mon Feb 6 19:30:46 CST 2017


+static inline LPWSTR strdupW( LPCWSTR src )
+{
+    LPWSTR dest;
+    if (!src) return NULL;
+    dest = HeapAlloc( GetProcessHeap(), 0, (lstrlenW(src)+1)*sizeof(WCHAR) );
+    if (dest)
+        lstrcpyW(dest, src);
+    return dest;
+}

I submitted a similar patch months ago and was told that I had to
change LPWSTR to WCHAR * and consistently indent or not indent after
these two if statements.

-Alex



More information about the wine-devel mailing list