i have no brain and i must rename
This commit is contained in:
1 parent
b273b1e5ab
commit
f9cf371cf9
6 files changed
+74
-11
No files matched your search
@@ -98,11 +98,17 @@ char *utils_InputText(char *start, int maxLen){
|
||||
if (input->buttons & (KEY_A | KEY_B))
|
||||
break;
|
||||
|
||||
if (input->buttons & (KEY_LDOWN | KEY_RDOWN) && buff[currentPos] < 126)
|
||||
buff[currentPos]++;
|
||||
if (input->buttons & (KEY_LDOWN | KEY_RDOWN) && buff[currentPos] < 126){
|
||||
temp = ++buff[currentPos];
|
||||
while (temp == '\\' || temp == '/' || temp == ':' || temp == '*' || temp == '?' || temp == '"' || temp == '<' || temp == '>' || temp == '|')
|
||||
temp = ++buff[currentPos];
|
||||
}
|
||||
|
||||
if (input->buttons & (KEY_LUP | KEY_RUP) && buff[currentPos] > 32)
|
||||
buff[currentPos]--;
|
||||
if (input->buttons & (KEY_LUP | KEY_RUP) && buff[currentPos] > 32){
|
||||
temp = --buff[currentPos];
|
||||
while (temp == '\\' || temp == '/' || temp == ':' || temp == '*' || temp == '?' || temp == '"' || temp == '<' || temp == '>' || temp == '|')
|
||||
temp = --buff[currentPos];
|
||||
}
|
||||
|
||||
if (input->Lleft && currentPos > 0)
|
||||
currentPos--;
|
||||
|
||||
Reference in new issue
Block a user