summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hwpfilter/source/hbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index ca1b2a9f9466..b22e9cf90ff4 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -189,7 +189,7 @@ hchar_string DateCode::GetString()
cbuf[4] = 0;
break;
case '*':
- strncat(cbuf, en_mon[date[MONTH] - 1], 256);
+ strncat(cbuf, en_mon[date[MONTH] - 1], 255);
break;
case '3': /* 'D' is day of korean */
num = date[DAY];