mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-06 17:39:45 +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:
@@ -238,9 +238,9 @@ void MwLoop(MwWidget handle) {
|
||||
}
|
||||
|
||||
void MwSetInteger(MwWidget handle, const char* key, int n) {
|
||||
int xy = 0;
|
||||
int xy;
|
||||
int wh = 0;
|
||||
if((xy = (strcmp(key, MwNx) == 0 || strcmp(key, MwNy) == 0)) || (wh = (strcmp(key, MwNwidth) == 0 || strcmp(key, MwNheight) == 0))) {
|
||||
if((xy = ((strcmp(key, MwNx) == 0 || strcmp(key, MwNy) == 0) ? 1 : 0)) || (wh = ((strcmp(key, MwNwidth) == 0 || strcmp(key, MwNheight) == 0)) ? 1 : 0)) {
|
||||
int x, y;
|
||||
unsigned int w, h;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user