Permalink
Browse files

Using static variables from gimp header for totalpixels calculation.

Signed-off-by: nubecoder <nubecoder@gmail.com>
  • Loading branch information...
nubecoder committed Aug 13, 2011
1 parent ef238a2 commit 524d9e1a684b018c8dbe39fc1ec8327b583778e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 makebootlogo.cpp
View
@@ -9,7 +9,7 @@ using namespace std;
int main()
{
- int totalpixels = 480 * 800;
+ int totalpixels = width * height;
int breakcount = 1;
// Begin boot_logo
cout << "const unsigned long LOGO_RGB24[] = {\n";

0 comments on commit 524d9e1

Please sign in to comment.