Correction d'une erreur de syntaxe

This commit is contained in:
Jean-Paul NOEL 2020-04-19 14:48:40 +02:00
parent 4f942fa8b9
commit 7ed82f4338
1 changed files with 4 additions and 4 deletions

View File

@ -102,28 +102,28 @@ int main(void)
y--;
if (y < 0)
{
y = 0:
y = 0;
}
break;
case KEY_DOWN:
y++;
if (y > yMap)
{
y = yMap:
y = yMap;
}
break;
case KEY_LEFT:
x--;
if (x < 0)
{
x = 0:
x = 0;
}
break;
case KEY_RIGHT:
x++;
if (x > xMap)
{
x = xMap:
x = xMap;
}
break;
break;