Skip to content

Commit

Permalink
modificados huecos de la palabra
Browse files Browse the repository at this point in the history
  • Loading branch information
ZgzInfinity committed Sep 13, 2019
1 parent 1ecbf07 commit e3dff01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Palabra.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ char devolverLetra(Palabra& p, const int i){
*/
void mostrarHuecosPalabra(Palabra& p){
// Total de letras de la palabra <<p>>
gotoxy(60, 15);
gotoxy(50, 15);
int numLetras = obtenerLetras(p);
// Bucle de recorrido de la palabra
for (int i = 0; i < numLetras; i++){
Expand Down Expand Up @@ -111,7 +111,7 @@ void existeLetra(Palabra& p, const char l, int& letrasVolteadas, bool& encontrad
c = devolverLetra(p, i);
if (c == l){
// Muestreo de la letra en la poscion correcta
gotoxy(60 + 2 * i, 15);
gotoxy(50 + 2 * i, 15);
cout << l << " ";
// Se ha hallado una nueva letra y se voltea
letrasVolteadas++;
Expand Down

0 comments on commit e3dff01

Please sign in to comment.