summaryrefslogtreecommitdiff
path: root/protocols/Omegle
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle')
-rw-r--r--protocols/Omegle/src/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Omegle/src/dialogs.cpp b/protocols/Omegle/src/dialogs.cpp
index b531e58b45..2b42a930af 100644
--- a/protocols/Omegle/src/dialogs.cpp
+++ b/protocols/Omegle/src/dialogs.cpp
@@ -50,7 +50,7 @@ static void StoreDBText(OmegleProto* ppro, HWND hwnd, int idCtrl, const char* sz
{
TCHAR tstr[250+1];
- GetDlgItemText(hwnd, idCtrl, tstr, sizeof(tstr));
+ GetDlgItemText(hwnd, idCtrl, tstr, SIZEOF(tstr));
if ( _tcsclen( tstr ) > 0 ) {
db_set_ts(NULL, ppro->m_szModuleName, szSetting, tstr);
} else {