summaryrefslogtreecommitdiff
path: root/src/modules/database/dbutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database/dbutils.cpp')
-rw-r--r--src/modules/database/dbutils.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/database/dbutils.cpp b/src/modules/database/dbutils.cpp
index 174d7e5109..93a9a23eb8 100644
--- a/src/modules/database/dbutils.cpp
+++ b/src/modules/database/dbutils.cpp
@@ -137,7 +137,9 @@ static INT_PTR DbEventGetText(WPARAM wParam, LPARAM lParam)
if (p[i] == 0) {
msglenW = i;
break;
- } } }
+ }
+ }
+ }
if (msglenW > 0 && msglenW < msglen && !bIsDenyUnicode)
msg = mir_wstrdup((WCHAR*)&dbei->pBlob[ msglen ]);