diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-30 09:26:25 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-30 09:26:25 +0000 |
commit | 62be9542e8273f757918e77dff73768dbdfbc7da (patch) | |
tree | 53df658cda14747040551c1a8cfdf55b8dfba7bf /plugins/Alarms/src | |
parent | fdbef336d08a2bc1ff8a14249763f4a3baebd94e (diff) |
Crash fix (by Mataes)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9991 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms/src')
-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);
}
|