mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Review formating
This commit is contained in:
13
src/raygui.h
13
src/raygui.h
@ -3057,16 +3057,17 @@ int GuiValueBox(Rectangle bounds, const char *text, int *value, int minValue, in
|
||||
keyCount--;
|
||||
valueHasChanged = true;
|
||||
}
|
||||
else if (keyCount < RAYGUI_VALUEBOX_MAX_CHARS -1){
|
||||
if (keyCount == 0){
|
||||
else if (keyCount < RAYGUI_VALUEBOX_MAX_CHARS -1)
|
||||
{
|
||||
if (keyCount == 0)
|
||||
{
|
||||
textValue[0] = '0';
|
||||
textValue[1] = '\0';
|
||||
keyCount++;
|
||||
}
|
||||
for(int i = keyCount ; i > -1; i-- )
|
||||
{
|
||||
textValue[i + 1] = textValue[i];
|
||||
}
|
||||
|
||||
for (int i = keyCount ; i > -1; i--) textValue[i + 1] = textValue[i];
|
||||
|
||||
textValue[0] = '-';
|
||||
keyCount++;
|
||||
valueHasChanged = true;
|
||||
|
||||
Reference in New Issue
Block a user