mirror of
https://github.com/sshlien/abcmidi.git
synced 2025-12-06 06:55:06 +00:00
2021.05.10
This commit is contained in:
@@ -420,7 +420,7 @@ int check_power_of_two(int denom)
|
||||
if (t % 2 != 0) {
|
||||
snprintf(error_message, 80, "%d b is not a power of 2", denom);
|
||||
event_error (error_message);
|
||||
return 0;
|
||||
return -1;
|
||||
} else {
|
||||
t = t / 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user