diff options
author | pixel <pixel> | 2004-12-19 16:19:00 +0000 |
---|---|---|
committer | pixel <pixel> | 2004-12-19 16:19:00 +0000 |
commit | f30523f7852aeed7d31a1f947e36a6284efdb23b (patch) | |
tree | bee0d3ea56773b6088ea62e1826010d3836aa7ac /luapatch.cpp | |
parent | 37ff64147f717b01098c22afbb58f17a0e9cb293 (diff) |
Updating luapatch's languages.
Diffstat (limited to 'luapatch.cpp')
-rw-r--r-- | luapatch.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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); + } + } } } |