diff options
Diffstat (limited to 'plugins/Alarms/src/alarmlist.cpp')
-rw-r--r-- | plugins/Alarms/src/alarmlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Alarms/src/alarmlist.cpp b/plugins/Alarms/src/alarmlist.cpp index 4c0f08039a..eea69fee51 100644 --- a/plugins/Alarms/src/alarmlist.cpp +++ b/plugins/Alarms/src/alarmlist.cpp @@ -331,7 +331,7 @@ void SaveAlarms() { if (_tcslen(i->szCommand)) {
mir_snprintf(buff, SIZEOF(buff), "ActionCommand%d", index);
db_set_ts(0, MODULE, buff, i->szCommand);
- if (_tcslen(i->szCommandParams)) {
+ if (lstrlen(i->szCommandParams)) {
mir_snprintf(buff, SIZEOF(buff), "ActionParams%d", index);
db_set_ts(0, MODULE, buff, i->szCommandParams);
}
|