diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-25 23:22:28 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-25 23:22:28 +0900 |
| commit | 51a06020197add99d61d872f0ae7de0b3e820d48 (patch) | |
| tree | 4790ed441804f5f7b6b53b4921e56c7330c747d9 /src/modules/eventeditor/eventeditor.cpp | |
| parent | 5e55ee79883e833ccc7d841c81d5081ef7339920 (diff) | |
| download | kvirc-fix/translations.tar.gz kvirc-fix/translations.zip | |
Fix TQString formatting in 'KviTQString::sprintf'.fix/translations
This was causing translation catalouges not to be found and eventually the program to always display in English.
The problem was introduced by an automated Q --> TQ renaming done sometime in the past. 'KviTQString::sprintf' uses '%Q' as a marker for a TQString* argument, so using '%TQ' was resulting in garbage bytes being fed and the catalouges not being found.
This resolves issue #44.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/eventeditor/eventeditor.cpp')
| -rw-r--r-- | src/modules/eventeditor/eventeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp index 06d6e3e..6b58280 100644 --- a/src/modules/eventeditor/eventeditor.cpp +++ b/src/modules/eventeditor/eventeditor.cpp @@ -193,7 +193,7 @@ void KviEventEditor::getUniqueHandlerName(KviEventListViewItem *it,TQString &buf if(KviTQString::equalCI(newName,ch->m_szName)) { bFound = true; - KviTQString::sprintf(newName,"%TQ_%d",&buffer,idx); + KviTQString::sprintf(newName,"%Q_%d",&buffer,idx); idx++; break; } |
