summaryrefslogtreecommitdiff
path: root/plugins/wbOSD/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
commitc09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch)
tree9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/wbOSD/src
parentbabf7873a3fe373d60ef22b1b671d98e014d8819 (diff)
replace _tcscpy to mir_tstrcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/wbOSD/src')
-rw-r--r--plugins/wbOSD/src/events.cpp2
-rw-r--r--plugins/wbOSD/src/options.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/wbOSD/src/events.cpp b/plugins/wbOSD/src/events.cpp
index b9b287e37f..af04e7156e 100644
--- a/plugins/wbOSD/src/events.cpp
+++ b/plugins/wbOSD/src/events.cpp
@@ -156,7 +156,7 @@ int HookedNewEvent(WPARAM wParam, LPARAM hDBEvent)
DBVARIANT dbv;
if(!db_get_ts(NULL,THIS_MODULE,"message_format",&dbv)) {
- _tcscpy(buf, dbv.ptszVal);
+ mir_tstrcpy(buf, dbv.ptszVal);
db_free(&dbv);
}
diff --git a/plugins/wbOSD/src/options.cpp b/plugins/wbOSD/src/options.cpp
index 5db4ffcf3b..661a5a41a8 100644
--- a/plugins/wbOSD/src/options.cpp
+++ b/plugins/wbOSD/src/options.cpp
@@ -128,10 +128,10 @@ void loadDBSettings(plgsettings *ps)
DBVARIANT dbv;
if (!db_get_ts( NULL, THIS_MODULE, "message_format", &dbv )) {
- _tcscpy(ps->msgformat, dbv.ptszVal);
+ mir_tstrcpy(ps->msgformat, dbv.ptszVal);
db_free(&dbv);
}
- else _tcscpy(ps->msgformat, DEFAULT_MESSAGEFORMAT);
+ else mir_tstrcpy(ps->msgformat, DEFAULT_MESSAGEFORMAT);
ps->announce=db_get_dw(NULL,THIS_MODULE,"announce", DEFAULT_ANNOUNCE);
@@ -150,11 +150,11 @@ void loadDBSettings(plgsettings *ps)
ps->lf.lfPitchAndFamily=db_get_b(NULL,THIS_MODULE, "fntPitchAndFamily", DEFAULT_FNT_PITCHANDFAM);
if(!db_get_ts(NULL,THIS_MODULE,"fntFaceName",&dbv)) {
- _tcscpy(ps->lf.lfFaceName, dbv.ptszVal);
+ mir_tstrcpy(ps->lf.lfFaceName, dbv.ptszVal);
db_free(&dbv);
}
else
- _tcscpy(ps->lf.lfFaceName, DEFAULT_FNT_FACENAME);
+ mir_tstrcpy(ps->lf.lfFaceName, DEFAULT_FNT_FACENAME);
}
void saveDBSettings(plgsettings *ps)