wineconsole: Fix a string resource so its format placeholders can be reordered.
diff --git a/po/ar.po b/po/ar.po
index 2550a39..cae67b7 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -10250,7 +10250,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/bg.po b/po/bg.po
index d848c1b..bebeeb1 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -10405,7 +10405,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/ca.po b/po/ca.po
index 90fc9cd..8769236 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -10761,7 +10761,8 @@
 "la finestra"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Cada caràcter és %ld píxels d'ampla per %ld píxels d'alta"
 
 #: wineconsole.rc:35
diff --git a/po/cs.po b/po/cs.po
index 705091d..7445958 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -10871,7 +10871,8 @@
 msgstr "Zásobník obrazovky musí být větší nebo stejně velký jakzásobník okna"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Každý znak je %ld pixelů široký a %ld pixelů vysoký"
 
 #: wineconsole.rc:35
diff --git a/po/da.po b/po/da.po
index b6a7908..5e2d8f4 100644
--- a/po/da.po
+++ b/po/da.po
@@ -10953,7 +10953,8 @@
 msgstr "Skærm buffer størrelsen, skal være større eller lig med vinduet"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Hvert tegn er %ld pixel bred og %ld pixel høj"
 
 #: wineconsole.rc:35
diff --git a/po/de.po b/po/de.po
index c8c7a25..d808d22 100644
--- a/po/de.po
+++ b/po/de.po
@@ -10799,7 +10799,8 @@
 msgstr "Die Bildschirmgröße muß größer oder gleich der des Fensters sein"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Jeder Buchstabe ist %ld Pixel breit und %ld Pixel hoch"
 
 #: wineconsole.rc:35
diff --git a/po/el.po b/po/el.po
index e1cd043..3d5e6da 100644
--- a/po/el.po
+++ b/po/el.po
@@ -10253,7 +10253,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/en.po b/po/en.po
index 75fc5da..4dfcf7b 100644
--- a/po/en.po
+++ b/po/en.po
@@ -10482,7 +10482,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/en_US.po b/po/en_US.po
index 97128c3..a7c682e 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -10679,8 +10679,8 @@
 msgstr "Screen buffer size must be greater or equal to the window's one"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
-msgstr "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
+msgstr "Each character is %1!u! pixels wide on %2!u! pixels high"
 
 #: wineconsole.rc:35
 msgid "This is a test"
diff --git a/po/eo.po b/po/eo.po
index 3ee4dae..bd72adc 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -10415,7 +10415,8 @@
 "Ekran-bufra grandeco devas esti pli granda aý egala ol fenestr-bufra tiu"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Tipo estas larøa %ld bilderojn kaj alta %ld bilderojn"
 
 #: wineconsole.rc:35
diff --git a/po/es.po b/po/es.po
index 119ba9d..8a59f40 100644
--- a/po/es.po
+++ b/po/es.po
@@ -11157,7 +11157,8 @@
 "ventana"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Cada caracter tiene %ld píxeles de ancho por %ld píxeles de alto"
 
 #: wineconsole.rc:35
diff --git a/po/fa.po b/po/fa.po
index 5b4d104..852b1fc 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -10253,7 +10253,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/fi.po b/po/fi.po
index cdb289f..6369e63 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -10536,7 +10536,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/fr.po b/po/fr.po
index 6e090ec..2117d87 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10819,7 +10819,8 @@
 "de la fenêtre"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Chaque caractère fait %ld pixels de large et %ld pixels de haut"
 
 #: wineconsole.rc:35
diff --git a/po/he.po b/po/he.po
index 512862a..35a3255 100644
--- a/po/he.po
+++ b/po/he.po
@@ -10819,7 +10819,8 @@
 msgstr "גודל מאגר המסך חייב להיות גדול או שווה לזה של החלון"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "כל תו הוא ברוחב %ld פיקסלים על גובה של %ld פיקסלים"
 
 #: wineconsole.rc:35
diff --git a/po/hi.po b/po/hi.po
index 91d288e..7042ceb 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -10115,7 +10115,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/hu.po b/po/hu.po
index edbe4aa..6d5f80f 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -10809,7 +10809,8 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Minden karakter %ld pixel széles és %ld pixel magas"
 
 #: wineconsole.rc:35
diff --git a/po/it.po b/po/it.po
index 92889fc..ab25768 100644
--- a/po/it.po
+++ b/po/it.po
@@ -10757,7 +10757,8 @@
 "finestra"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Il carattere è largo %ld pixel e alto %ld pixel"
 
 #: wineconsole.rc:35
diff --git a/po/ja.po b/po/ja.po
index 1410f82..3d1f2b2 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -10678,7 +10678,8 @@
 "スクリーン バッファ サイズはウィンドウ バッファ サイズ以上にしてください。"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "それぞれの文字は %ld ピクセルの幅 %ld ピクセルの高さ"
 
 #: wineconsole.rc:35
diff --git a/po/ko.po b/po/ko.po
index a39ce6c..ffd3a28 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -10638,7 +10638,8 @@
 msgstr "스크린 버퍼 크기는 반드시 창보다 같거나 커야합니다."
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "각각의 글자는 %ld  픽셀 너비에 %ld 픽셀 높이를 가집니다"
 
 #: wineconsole.rc:35
diff --git a/po/lt.po b/po/lt.po
index 24f7ab7..697a747 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -10703,7 +10703,8 @@
 msgstr "Ekrano buferio dydis turi būti didesnis arba lygus lango buferiui"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Kiekvienas simbolis yra %ld pikselių pločio ir %ld pikselių aukščio"
 
 #: wineconsole.rc:35
diff --git a/po/ml.po b/po/ml.po
index a3db7ba..028c281 100644
--- a/po/ml.po
+++ b/po/ml.po
@@ -10115,7 +10115,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 64414f1..0025a22 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -10984,7 +10984,8 @@
 msgstr "Skjermens hurtigminnestørrelse må være større eller lik vinduets"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Hvert tegn er %ld piksler bredt og %ld piksler høyt"
 
 #: wineconsole.rc:35
diff --git a/po/nl.po b/po/nl.po
index 7cba8ce..3bcb958 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -10841,7 +10841,8 @@
 msgstr "De schermbuffer moet groter dan of gelijk zijn aan de vensterbuffer"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Elk karakter is %ld pixels breed en %ld pixels hoog"
 
 #: wineconsole.rc:35
diff --git a/po/or.po b/po/or.po
index 7eac78d..37819e2 100644
--- a/po/or.po
+++ b/po/or.po
@@ -10115,7 +10115,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/pa.po b/po/pa.po
index 1275411..b4b4680 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -10115,7 +10115,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/pl.po b/po/pl.po
index 03d538c..77efbc8 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -10677,7 +10677,8 @@
 msgstr "Wielkość bufora ekranu musi być większa niż wielkość bufora okna."
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Każdy znak ma szerokość %ld i wysokość %ld punktów"
 
 #: wineconsole.rc:35
diff --git a/po/pt_BR.po b/po/pt_BR.po
index e61bcf0..55d254c 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -11072,7 +11072,8 @@
 msgstr "Tamanho do buffer de tela deve ser maior ou igual ao da janela"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Cada caracter tem %ld pixels de largura por %ld pixels de altura"
 
 #: wineconsole.rc:35
diff --git a/po/pt_PT.po b/po/pt_PT.po
index b72b03b..1f98f49 100644
--- a/po/pt_PT.po
+++ b/po/pt_PT.po
@@ -11088,7 +11088,8 @@
 msgstr "O tamanho do 'buffer' do ecrã deve ser maior ou igual ao da janela"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Cada caracter tem %ld pixels de largura por %ld pixels de altura"
 
 #: wineconsole.rc:35
diff --git a/po/rm.po b/po/rm.po
index 2747fc4..c9e0b3e 100644
--- a/po/rm.po
+++ b/po/rm.po
@@ -10162,7 +10162,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/ro.po b/po/ro.po
index 60564ce..aeb7bf7 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -11304,7 +11304,8 @@
 "cea a ferestrei"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Fiecare caracter are %ld pixeli lățime și %ld pixeli înălțime"
 
 #: wineconsole.rc:35
diff --git a/po/ru.po b/po/ru.po
index 14d9020..5d88e77 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -10690,7 +10690,8 @@
 msgstr "Размер буфера экрана должен быть не менее буфера окна"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Каждый символ %ld пикселей в ширину и %ld пикселей в высоту"
 
 #: wineconsole.rc:35
diff --git a/po/sk.po b/po/sk.po
index 6c2758a..df2742e 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -10257,7 +10257,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/sl.po b/po/sl.po
index b2de0be..7946548 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -10732,7 +10732,8 @@
 "Velikost zaslonskega medpomnilnika mora biti večja ali enaka okenskemu."
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Vsak znak je širok %ld točk in visok %ld točk"
 
 #: wineconsole.rc:35
diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po
index d3c2c5f..9a1b8f0 100644
--- a/po/sr_RS@cyrillic.po
+++ b/po/sr_RS@cyrillic.po
@@ -10643,7 +10643,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po
index 461d538..4d46980 100644
--- a/po/sr_RS@latin.po
+++ b/po/sr_RS@latin.po
@@ -10722,7 +10722,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/sv.po b/po/sv.po
index 8043fcc..0765532 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -10677,7 +10677,8 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Varje bokstav är %ld bildpunkter bred och %ld bildpunkter hög"
 
 #: wineconsole.rc:35
diff --git a/po/te.po b/po/te.po
index bd568b1..a258621 100644
--- a/po/te.po
+++ b/po/te.po
@@ -10115,7 +10115,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/th.po b/po/th.po
index 37ae6fc..9213214 100644
--- a/po/th.po
+++ b/po/th.po
@@ -10260,7 +10260,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/tr.po b/po/tr.po
index 0fb21e8..6b69427 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -10993,7 +10993,8 @@
 msgstr "Ekran tamponu en az pencereninki kadar büyük olmalıdır"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Her karakter %ld piksel genişliğinde ve %ld piksel yüksekliğinde"
 
 #: wineconsole.rc:35
diff --git a/po/uk.po b/po/uk.po
index 8ee408a..e3964d2 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -10663,7 +10663,8 @@
 msgstr "Розмір буфера екрану повинен бути не менший буфера вікна"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "Кожен символ має %ld пікселів в ширину і %ld пікселів в висоту"
 
 #: wineconsole.rc:35
diff --git a/po/wa.po b/po/wa.po
index e1bc05d..7d3941f 100644
--- a/po/wa.po
+++ b/po/wa.po
@@ -10216,7 +10216,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/wine.pot b/po/wine.pot
index 85eea7d..e13be6d 100644
--- a/po/wine.pot
+++ b/po/wine.pot
@@ -10087,7 +10087,7 @@
 msgstr ""
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr ""
 
 #: wineconsole.rc:35
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 9a4722f..47ca60b 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -10585,7 +10585,8 @@
 msgstr "屏幕缓冲区大小必须不小于窗口"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "每个字符都是 %ld 像素宽,%ld 像素高"
 
 #: wineconsole.rc:35
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 47372ed..8885f99 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -10645,7 +10645,8 @@
 msgstr "螢幕緩存大小必須大於或等於視窗緩存"
 
 #: wineconsole.rc:34
-msgid "Each character is %ld pixels wide on %ld pixels high"
+#, fuzzy
+msgid "Each character is %1!u! pixels wide on %2!u! pixels high"
 msgstr "每個字都是 %ld 個像素寬,%ld 個像素高"
 
 #: wineconsole.rc:35
diff --git a/programs/wineconsole/dialog.c b/programs/wineconsole/dialog.c
index cb3ff50..831b2a9 100644
--- a/programs/wineconsole/dialog.c
+++ b/programs/wineconsole/dialog.c
@@ -415,6 +415,7 @@
     int		font_idx, size_idx;
     WCHAR	buf[256];
     WCHAR	fmt[128];
+    DWORD_PTR   args[2];
     LOGFONTW    lf;
     HFONT       hFont, hOldFont;
     struct config_data config;
@@ -439,7 +440,10 @@
     if (hOldFont) DeleteObject(hOldFont);
 
     LoadStringW(GetModuleHandleW(NULL), IDS_FNT_DISPLAY, fmt, sizeof(fmt) / sizeof(fmt[0]));
-    wsprintfW(buf, fmt, config.cell_width, config.cell_height);
+    args[0] = config.cell_width;
+    args[1] = config.cell_height;
+    FormatMessageW(FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ARGUMENT_ARRAY,
+                   fmt, 0, 0, buf, sizeof(buf)/sizeof(*buf), (__ms_va_list*)args);
 
     SendDlgItemMessageW(di->hDlg, IDC_FNT_FONT_INFO, WM_SETTEXT, 0, (LPARAM)buf);
 
diff --git a/programs/wineconsole/wineconsole.rc b/programs/wineconsole/wineconsole.rc
index 6eaabef..1ea9f3e 100644
--- a/programs/wineconsole/wineconsole.rc
+++ b/programs/wineconsole/wineconsole.rc
@@ -31,7 +31,7 @@
 IDS_SELECTALL,		"&Select all"
 IDS_SCROLL,		"Sc&roll"
 IDS_SEARCH,		"S&earch"
-IDS_FNT_DISPLAY,	"Each character is %ld pixels wide on %ld pixels high"
+IDS_FNT_DISPLAY,	"Each character is %1!u! pixels wide on %2!u! pixels high"
 IDS_FNT_PREVIEW,	"This is a test"
 IDS_DLG_TIT_DEFAULT,    "Setup - Default settings"
 IDS_DLG_TIT_CURRENT,    "Setup - Current settings"