updated for version 7.0-074
diff --git a/src/gui_w48.c b/src/gui_w48.c
index 06039a5..5fb3b97 100644
--- a/src/gui_w48.c
+++ b/src/gui_w48.c
@@ -2194,7 +2194,18 @@
return;
if (showit)
+ {
+# ifdef FEAT_MBYTE
+# ifndef TB_SETUNICODEFORMAT
+ /* For older compilers. We assume this never changes. */
+# define TB_SETUNICODEFORMAT 0x2005
+# endif
+ /* Enable/disable unicode support */
+ int uu = (enc_codepage >= 0 && (int)GetACP() != enc_codepage);
+ SendMessage(s_toolbarhwnd, TB_SETUNICODEFORMAT, (WPARAM)uu, (LPARAM)0);
+# endif
ShowWindow(s_toolbarhwnd, SW_SHOW);
+ }
else
ShowWindow(s_toolbarhwnd, SW_HIDE);
}