mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 02:13:29 +00:00
fix small warnings
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@298 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user