From f30523f7852aeed7d31a1f947e36a6284efdb23b Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 19 Dec 2004 16:19:00 +0000 Subject: Updating luapatch's languages. --- luapatch.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'luapatch.cpp') diff --git a/luapatch.cpp b/luapatch.cpp index 369b55a..07e129d 100644 --- a/luapatch.cpp +++ b/luapatch.cpp @@ -99,8 +99,13 @@ void translate(int ownerid, HWND hW) { return; for (txt = t->trad; txt->str; txt++) { - if (txt->owner == ownerid) - SetDlgItemText(hW, txt->id, txt->str); + if (txt->owner == ownerid) { + if (txt->id == -1) { + SetWindowText(hW, txt->str); + } else { + SetDlgItemText(hW, txt->id, txt->str); + } + } } } -- cgit v1.2.3