diff options
Diffstat (limited to 'src/modules/clist/clistmod.cpp')
-rw-r--r-- | src/modules/clist/clistmod.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/modules/clist/clistmod.cpp b/src/modules/clist/clistmod.cpp index ff667bcb38..4c8df451d0 100644 --- a/src/modules/clist/clistmod.cpp +++ b/src/modules/clist/clistmod.cpp @@ -123,16 +123,15 @@ static INT_PTR GetStatusModeDescription(WPARAM wParam, LPARAM lParam) {
TCHAR* buf1 = cli.pfnGetStatusModeDescription( wParam, lParam );
- #ifdef UNICODE
- if ( !( lParam & GSMDF_TCHAR ))
- {
- static char szMode[64];
- char *buf2 = mir_u2a(buf1);
- mir_snprintf(szMode, SIZEOF(szMode), "%s", buf2);
- mir_free(buf2);
- return (INT_PTR)szMode;
- }
- #endif
+ if ( !( lParam & GSMDF_TCHAR ))
+ {
+ static char szMode[64];
+ char *buf2 = mir_u2a(buf1);
+ mir_snprintf(szMode, SIZEOF(szMode), "%s", buf2);
+ mir_free(buf2);
+ return (INT_PTR)szMode;
+ }
+
return (INT_PTR)buf1;
}
|