Commit 96d312c2 authored by unknown's avatar unknown

Fix typo

parent 30fb26f9
...@@ -2076,7 +2076,7 @@ String *Field_double::val_str(String *val_buffer, ...@@ -2076,7 +2076,7 @@ String *Field_double::val_str(String *val_buffer,
*to++= *pos++; *to++= *pos++;
#else #else
#ifdef HAVE_SNPRINTF #ifdef HAVE_SNPRINTF
buff[to_length-1]=0; // Safety to[to_length-1]=0; // Safety
snprintf(to,to_length-1,"%.*f",dec,nr); snprintf(to,to_length-1,"%.*f",dec,nr);
#else #else
sprintf(to,"%.*f",dec,nr); sprintf(to,"%.*f",dec,nr);
......
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