summaryrefslogtreecommitdiffstats
path: root/src/bltSwitch.C
diff options
context:
space:
mode:
authorjoye <joye>2014-04-24 19:01:30 (GMT)
committerjoye <joye>2014-04-24 19:01:30 (GMT)
commit6a107486197fabb64f1e5bc07972ac29c75a1d16 (patch)
treec38a9fcb3dce633dc4d48abd492e7d4a7e423e31 /src/bltSwitch.C
parent0bc6589c10da2193d451ab2419ec87255c696c0d (diff)
downloadblt-6a107486197fabb64f1e5bc07972ac29c75a1d16.zip
blt-6a107486197fabb64f1e5bc07972ac29c75a1d16.tar.gz
blt-6a107486197fabb64f1e5bc07972ac29c75a1d16.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltSwitch.C')
-rw-r--r--src/bltSwitch.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bltSwitch.C b/src/bltSwitch.C
index 22619a1..0db5213 100644
--- a/src/bltSwitch.C
+++ b/src/bltSwitch.C
@@ -366,7 +366,7 @@ int Blt_ParseSwitches(Tcl_Interp* interp, Blt_SwitchSpec *specs,
if (DoSwitch(interp, sp, objv[count], record) != TCL_OK) {
char msg[200];
- sprintf_s(msg, 200, "\n (processing \"%.40s\" switch)",
+ snprintf(msg, 200, "\n (processing \"%.40s\" switch)",
sp->switchName);
Tcl_AddErrorInfo(interp, msg);
return -1;