[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
WindRes patch
From: |
thehacker2307 |
Subject: |
WindRes patch |
Date: |
Tue, 16 Sep 2003 09:36:54 +0200 (CEST) |
--- binutils/resrc.c Wed Jun 25 01:08:44 2003
+++ binutils/resrc.c Mon Sep 15 17:57:58 2003
@@ -1087,10 +1087,8 @@
cg->height = icondirs[i].height;
cg->colors = icondirs[i].colorcount;
- cg->planes = 1;
- cg->bits = 0;
- while ((1 << cg->bits) < cg->colors)
- ++cg->bits;
+ cg->planes = icondirs[i].u.icon.planes;
+ cg->bits = icondirs[i].u.icon.bits;
cg->bytes = icondirs[i].bytes;
cg->index = first_icon + i + 1;
--
Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- WindRes patch,
thehacker2307 <=