--Bug fixes:

-Wraparound bug when generating random flames.
	-Make combo boxes have zero margins, they were getting clipped on Linux.
This commit is contained in:
mfeemster 2015-09-13 11:53:14 -07:00
parent 2f0227755b
commit 63f0d5cdad
2 changed files with 5 additions and 3 deletions

View File

@ -1095,9 +1095,9 @@ public:
if (rand.Rand() & 1)
sym = symDistrib[rand.Rand() % Vlen(symDistrib)];
else if (rand.Rand() & 31)
sym = (rand.Rand() % 13) - 6;
sym = intmax_t(rand.Rand() % 13) - 6;
else
sym = (rand.Rand() % 51) - 25;
sym = intmax_t(rand.Rand() % 51) - 25;
}
if (sym == 1 || sym == 0)

View File

@ -41,7 +41,9 @@ int main(int argc, char *argv[])
" subcontrol-position: top left;"
" padding: 0 3px 0 3px;"
//" padding: 2px;"
"}" );
"} \n"
"QComboBox { margin-top: 0px; padding-bottom: 0px; }"
);
#endif
int rv = -1;