diff options
| author | alexander.pickering <alexander.pickering@anondomain.site90.net> | 2014-12-06 12:20:31 -0500 |
|---|---|---|
| committer | alexander.pickering <alexander.pickering@anondomain.site90.net> | 2014-12-06 12:20:31 -0500 |
| commit | 997eef3f1a24e4f92c4bc26e0075a49cac9ea1c2 (patch) | |
| tree | 6c339955db209938a26b81a9114963ece9d66fcf | |
| parent | d545da74921348225d014437185154861513f7cd (diff) | |
| download | vaud-997eef3f1a24e4f92c4bc26e0075a49cac9ea1c2.tar.gz vaud-997eef3f1a24e4f92c4bc26e0075a49cac9ea1c2.tar.bz2 vaud-997eef3f1a24e4f92c4bc26e0075a49cac9ea1c2.zip | |
Fixed a minor bug with certain cells not being updated correctly after the border was removed
| -rw-r--r-- | vaud.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -213,17 +213,17 @@ void display_centerBars() float samp = fabs(data[space * i]); //get the waveform data float dec; int j; - for(j=0;j<samp*(height/2);j++) + for(j=0;j<samp*((height-2)/2);j++) { - if(COLORFUL) + //if(COLORFUL) {attron(COLOR_PAIR(j));} mvprintw((height/2)+j,i,BAR); mvprintw((height/2)-j,i,BAR); - if(COLORFUL) + //if(COLORFUL) {attroff(COLOR_PAIR(j));} } - for(j=samp*(height/2)+1;j<(height/2);j++) + for(j=samp*(height/2);j<(height/2);j++) { if(COLORFUL) attron(COLOR_PAIR(0)); |
