Removed redundant code

This commit is contained in:
vurtun 2016-08-15 11:50:40 +02:00
parent 01c088e7d8
commit ce234fc7a7

View File

@ -199,6 +199,7 @@ LICENSE:
publish and distribute this file as you see fit. publish and distribute this file as you see fit.
CHANGELOG: CHANGELOG:
- 2016/08/15 (1.094)- Removed redundant code
- 2016/08/15 (1.094)- Fixed negative numbers in `nk_strtoi` and remove unused variable - 2016/08/15 (1.094)- Fixed negative numbers in `nk_strtoi` and remove unused variable
- 2016/08/15 (1.093)- Fixed `NK_WINDOW_BACKGROUND` flag behavior to select a background - 2016/08/15 (1.093)- Fixed `NK_WINDOW_BACKGROUND` flag behavior to select a background
window only as selected by hovering and not by clicking. window only as selected by hovering and not by clicking.
@ -3077,7 +3078,7 @@ nk_strtoi(const char *str, char **endptr)
if (!str) return 0; if (!str) return 0;
/* skip whitespace */ /* skip whitespace */
while (*p && *p == ' ') p++; while (*p == ' ') p++;
if (*p == '-') { if (*p == '-') {
neg = -1; neg = -1;
p++; p++;
@ -3104,7 +3105,7 @@ nk_strtod(const char *str, char **endptr)
if (!str) return 0; if (!str) return 0;
/* skip whitespace */ /* skip whitespace */
while (*p && *p == ' ') p++; while (*p == ' ') p++;
if (*p == '-') { if (*p == '-') {
neg = -1.0; neg = -1.0;
p++; p++;