mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-11 18:57:11 +01:00
Linux Bugfix
This commit is contained in:
parent
da06fc39db
commit
0ac85e0daf
@ -384,7 +384,7 @@ namespace SmGui {
|
|||||||
|
|
||||||
// Check the type of each element
|
// Check the type of each element
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
if (va_arg(args, DrawListElemType) != elements[firstId + i].type) {
|
if (va_arg(args, int) != (int)elements[firstId + i].type) {
|
||||||
va_end(args);
|
va_end(args);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -763,4 +763,4 @@ namespace SmGui {
|
|||||||
void ForceSyncForNext() {
|
void ForceSyncForNext() {
|
||||||
forceSyncForNext = true;
|
forceSyncForNext = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user