diff testpl.c @ 55:e0e470c3fc8e

Initial round of cleaning up the player code a bit.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 01 Oct 2012 06:28:29 +0300
parents 033c660c25f5
children b51c7fc264ab
line wrap: on
line diff
--- a/testpl.c	Mon Oct 01 04:18:15 2012 +0300
+++ b/testpl.c	Mon Oct 01 06:28:29 2012 +0300
@@ -247,11 +247,11 @@
     SDL_PauseAudio(0);
     while (p->isPlaying)
     {
-        int r = p->iRow;
-        while (r == p->iRow && p->isPlaying)
+        int r = p->row;
+        while (r == p->row && p->isPlaying)
             SDL_Delay(50);
 
-        printRow(stdout, p->pPattern, p->iRow);
+        printRow(stdout, p->pattern, p->row);
         printf("\n");
     }