fix small warnings

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@298 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-12 10:46:07 +00:00
parent 8ee5c695dd
commit d36b6bae96
4 changed files with 7 additions and 7 deletions

View File

@@ -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);