Remove unnecessary breaks...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4508 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
497b30ae71
commit
128fda2fd6
@ -142,7 +142,6 @@ int fl_vsnprintf(char* buffer, size_t bufsize, const char* format, va_list ap) {
|
||||
if ((bufptr + strlen(temp)) > bufend) {
|
||||
strncpy(bufptr, temp, (size_t)(bufend - bufptr));
|
||||
bufptr = bufend;
|
||||
break;
|
||||
} else {
|
||||
strcpy(bufptr, temp);
|
||||
bufptr += strlen(temp);
|
||||
@ -168,7 +167,6 @@ int fl_vsnprintf(char* buffer, size_t bufsize, const char* format, va_list ap) {
|
||||
if ((bufptr + strlen(temp)) > bufend) {
|
||||
strncpy(bufptr, temp, (size_t)(bufend - bufptr));
|
||||
bufptr = bufend;
|
||||
break;
|
||||
} else {
|
||||
strcpy(bufptr, temp);
|
||||
bufptr += strlen(temp);
|
||||
@ -187,7 +185,6 @@ int fl_vsnprintf(char* buffer, size_t bufsize, const char* format, va_list ap) {
|
||||
if ((bufptr + strlen(temp)) > bufend) {
|
||||
strncpy(bufptr, temp, (size_t)(bufend - bufptr));
|
||||
bufptr = bufend;
|
||||
break;
|
||||
} else {
|
||||
strcpy(bufptr, temp);
|
||||
bufptr += strlen(temp);
|
||||
|
Loading…
Reference in New Issue
Block a user