Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c
index 7c1e8a6..0d59279 100644
--- a/dlls/comctl32/header.c
+++ b/dlls/comctl32/header.c
@@ -924,9 +924,8 @@
lpItem->cxy = phdi->cxy;
if (phdi->mask & HDI_TEXT) {
- static char empty[] = "";
if (!phdi->pszText) /* null pointer check */
- phdi->pszText = empty;
+ phdi->pszText = "";
if (phdi->pszText != LPSTR_TEXTCALLBACKA) {
len = MultiByteToWideChar(CP_ACP, 0, phdi->pszText, -1, NULL, 0);
lpItem->pszText = Alloc( len*sizeof(WCHAR) );