openvpn-gui/res
Selva Nair 56ee704501 Use C standrad compliant printf specifications
%S --> %hs in wide format strings, %ls otherwise
%s --> %ls in wide format strings, unchanged otherwise
%c --> %lc in wide format strings

Resource files together have about 970 lines affected and
were edited by looping through all with
sed -i 's/%S/%hs/g' $file
sed -i 's/%s/%ls/g' $file
All other files were manually changed (about 85 lines).

Recent versions of mingw-w64 implicitly turns on __USE_MINGW_ANSI_STDIO
if _GNU_SOURCE, _XOPEN_SOURCE etc are defined (which we do usei).

This breaks non-standard spec such as %S. Anyway, we have been
gradually getting rid of those.

MSVC builds should not be affected.

v2: multiple occurrences in same line was missed in v1 (/g missing in
sed expression). Fixed.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2021-11-03 16:20:17 -04:00
..
connected.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00
connecting.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00
disconnected.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00
openvpn-gui-res-cs.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-de.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-dk.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-en.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-es.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-fa.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-fi.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-fr.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-it.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-jp.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-kr.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-nl.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-no.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-pl.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-pt.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-ru.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-se.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-tr.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-ua.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-zh-hans.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res-zh-hant.rc Use C standrad compliant printf specifications 2021-11-03 16:20:17 -04:00
openvpn-gui-res.rc Enable all language resource files in MSVC build 2021-05-19 20:58:06 -04:00
openvpn-gui.ico update program graphics, thanks to Evgheni Dereveanchin 2014-01-16 18:28:45 +01:00
openvpn-gui.manifest Support per-monitor DPI scaling 2020-09-11 11:15:14 -04:00
reconnecting.ico Add 24x24 and 20x20 versions of each icon. 2016-12-06 10:12:40 +00:00