Skip to content

Commit

Permalink
Faltaba algo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolty95 committed Oct 19, 2016
1 parent ec369d7 commit abd3823
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sources/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ int main() {
char ip[20] = {'\0'};
getIP(ip);

// A partir de aqui el archivo existe. Escribimos la IP de 3DSController.ini
consoleSelect(&bottomScreen);
printf("\x1b[%d;%dHIP guardada: \x1b[31m %s \x1b[0m \x1b[0m", lista, INDICE + 1, ip);

// Definimos la lista del menu
char* menu[lista] = {"Editar IP", "Editar y controlar PC", "Controlar PC", "Salir"};

Expand All @@ -81,10 +85,6 @@ int main() {
// Refresca la pantalla
actualiza(opcion, topScreen, menu, lista);

// A partir de aqui el archivo existe. Escribimos la IP de 3DSController.ini
consoleSelect(&bottomScreen);
printf("\x1b[%d;%dHIP guardada: \x1b[30%s \x1b[0m \x1b[0m", lista, INDICE + 1, ip);

// Volvemos a selecionar la pantalla superior
consoleSelect(&topScreen);

Expand Down

0 comments on commit abd3823

Please sign in to comment.