Merge branch 'upstream' into dev
This commit is contained in:
commit
f85ef31b1f
@ -3898,6 +3898,7 @@ char *console_ui(pixel *vid_buf,char error[255]) { //TODO: error messages, show
|
|||||||
if(ci==-1)
|
if(ci==-1)
|
||||||
{
|
{
|
||||||
strcpy(ed.str, "");
|
strcpy(ed.str, "");
|
||||||
|
ed.cursor = strlen(ed.str);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -3910,11 +3911,13 @@ char *console_ui(pixel *vid_buf,char error[255]) { //TODO: error messages, show
|
|||||||
currentcommand = currentcommand->prev_command;
|
currentcommand = currentcommand->prev_command;
|
||||||
}
|
}
|
||||||
strcpy(ed.str, currentcommand->command);
|
strcpy(ed.str, currentcommand->command);
|
||||||
|
ed.cursor = strlen(ed.str);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ci = -1;
|
ci = -1;
|
||||||
strcpy(ed.str, "");
|
strcpy(ed.str, "");
|
||||||
|
ed.cursor = strlen(ed.str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1121,7 +1121,7 @@ int main(int argc, char *argv[])
|
|||||||
pixel *pers_bg=calloc((XRES+BARSIZE)*YRES, PIXELSIZE);
|
pixel *pers_bg=calloc((XRES+BARSIZE)*YRES, PIXELSIZE);
|
||||||
void *http_ver_check;
|
void *http_ver_check;
|
||||||
char *ver_data=NULL, *tmp;
|
char *ver_data=NULL, *tmp;
|
||||||
char error[255];
|
char error[255] = "";
|
||||||
int i, j, bq, fire_fc=0, do_check=0, old_version=0, http_ret=0, major, minor, old_ver_len;
|
int i, j, bq, fire_fc=0, do_check=0, old_version=0, http_ret=0, major, minor, old_ver_len;
|
||||||
#ifdef INTERNAL
|
#ifdef INTERNAL
|
||||||
int vs = 0;
|
int vs = 0;
|
||||||
|
Reference in New Issue
Block a user