Piotr Caban (@piotr) commented about dlls/wineps.drv/init.c:
return ret;
}
+#define ntf_strlen(str) ((strlen(str) + 4) & ~3) +#define ntf_wcslen(str) ((wcslen(str) + 2) & ~1)
The patch looks good for me now. I'm not sure if it's better but how about changing the helpers to: ```suggestion:-1+0 #define DWORD_ALIGN(x) ((x) + 3) & ~3) #define ntf_strsize(str) DWORD_ALIGN(strlen(str) + 1) #define ntf_wcssize(str) DWORD_ALIGN((wcslen(str) + 1) * sizeof(WCHAR)) ```