diff options
Diffstat (limited to 'm_property.c')
-rw-r--r-- | m_property.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m_property.c b/m_property.c index 188d225bad..bbc11defa0 100644 --- a/m_property.c +++ b/m_property.c @@ -145,7 +145,7 @@ char *m_properties_expand_string(const m_option_t *prop_list, char *str, char num[3] = { str[2], str[3], 0 }; char *end = num; num_val = strtol(num, &end, 16); - sl = end - num; + sl = end - num + 1; l = 1; p = &num_val; } else |