diff options
Diffstat (limited to 'plugins/MsgPopup/src/main.cpp')
-rw-r--r-- | plugins/MsgPopup/src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MsgPopup/src/main.cpp b/plugins/MsgPopup/src/main.cpp index 3bc56ce52c..7fc9aa8d42 100644 --- a/plugins/MsgPopup/src/main.cpp +++ b/plugins/MsgPopup/src/main.cpp @@ -199,9 +199,9 @@ void LoadConfig() {
for (int indx = 0; indx < 4; indx++) {
char szNameFG[4], szNameBG[4], szNameTO[4];
- mir_snprintf(szNameFG, _countof(szNameFG), "FG%d", indx);
- mir_snprintf(szNameBG, _countof(szNameBG), "BG%d", indx);
- mir_snprintf(szNameTO, _countof(szNameTO), "TO%d", indx);
+ mir_snprintf(szNameFG, "FG%d", indx);
+ mir_snprintf(szNameBG, "BG%d", indx);
+ mir_snprintf(szNameTO, "TO%d", indx);
options.FG[indx] = db_get_dw(NULL, SERVICENAME, szNameFG, optionsDefault.FG[indx]);
options.BG[indx] = db_get_dw(NULL, SERVICENAME, szNameBG, optionsDefault.BG[indx]);
options.Timeout[indx] = db_get_dw(NULL, SERVICENAME, szNameTO, (DWORD)optionsDefault.Timeout[indx]);
|