fix small warnings
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@298 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
8ee5c695dd
commit
d36b6bae96
4 changed files with 7 additions and 7 deletions
|
|
@ -36,9 +36,9 @@ static int hex(const char* txt, int len) {
|
|||
}
|
||||
|
||||
MwLLColor MwParseColor(MwWidget handle, const char* text) {
|
||||
int r = 0;
|
||||
int g = 0;
|
||||
int b = 0;
|
||||
int r;
|
||||
int g;
|
||||
int b;
|
||||
|
||||
if(text[0] == '#' && strlen(text) == 4) {
|
||||
r = hex(text + 1, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue