Christian Heimke commited on 2011-07-15 08:56:02
Showing 5 changed files, with 9 additions and 5 deletions.
| ... | ... |
@@ -3,6 +3,10 @@ Copyright (C) 2004-2006: Stefan Schuermans <1stein@schuermans.info> |
| 3 | 3 |
Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
| 4 | 4 |
a blinkenarea.org project |
| 5 | 5 |
|
| 6 |
+version 0.1.2 date 2008-08-10 |
|
| 7 |
+----------------------------- |
|
| 8 |
+ - fixed bug in resizing frames if adding channels |
|
| 9 |
+ |
|
| 6 | 10 |
version 0.1.1 date 2006-10-17 |
| 7 | 11 |
----------------------------- |
| 8 | 12 |
- fixed bug in resizing frames if adding channels |
| ... | ... |
@@ -1,5 +1,5 @@ |
| 1 | 1 |
/* BlinkenLib |
| 2 |
- * version 0.1.1 date 2006-10-17 |
|
| 2 |
+ * version 0.1.2 date 2008-08-10 |
|
| 3 | 3 |
* Copyright (C) 2004-2006: Stefan Schuermans <1stein@schuermans.info> |
| 4 | 4 |
* Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html |
| 5 | 5 |
* a blinkenarea.org project |
| ... | ... |
@@ -233,7 +233,7 @@ public class BlinkenFrame |
| 233 | 233 |
for( c = 0; c < this.channels; c++ ) |
| 234 | 234 |
new_data[emptyY + y][destI + c] = (byte)((((int)data[skipY + y][srcI + c] & 0xFF) * maxval + this.maxval / 2) / this.maxval); |
| 235 | 235 |
for( ; c < channels; c++ ) |
| 236 |
- new_data[emptyY + y][destI + c] = data[emptyY + y][srcI + this.channels - 1]; |
|
| 236 |
+ new_data[emptyY + y][destI + c] = new_data[emptyY + y][srcI + this.channels - 1]; |
|
| 237 | 237 |
} |
| 238 | 238 |
else //remove channels: merge leftover channels with last kept channel |
| 239 | 239 |
{
|