Commit 18daf079 authored by Claes Sjofors's avatar Claes Sjofors

Configurator, input size of object name was 1 char to large (#refs 98)

parent d1b69caf
...@@ -865,7 +865,7 @@ int WNav::check_attr_value( brow_tObject node, int *multiline, ...@@ -865,7 +865,7 @@ int WNav::check_attr_value( brow_tObject node, int *multiline,
strcpy( name, ""); strcpy( name, "");
*init_value = name; *init_value = name;
*multiline = 0; *multiline = 0;
*size = sizeof( name); *size = sizeof( name) - 1;
break; break;
} }
case wnav_eItemType_Local: case wnav_eItemType_Local:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment