fvwm2/fvwm-2.5.21-utf_encoding.patch

12 lines
254 B
Diff
Raw Normal View History

--- libs/FlocaleCharset.c
+++ libs/FlocaleCharset.c
@@ -522,7 +522,7 @@
}
if (FLCXOMCharsetList_num > 0 && FLCXOMCharsetList[0])
- FLCXOMCharset = FLCXOMCharsetList[0];
+ FLCXOMCharset = FLCXOMCharsetList[FLCXOMCharsetList_num - 1];
#endif
}