mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -05:00
fix cancel
This commit is contained in:
parent
ea8f6b2be5
commit
fd4ac1676a
1 changed files with 4 additions and 1 deletions
|
@ -238,6 +238,9 @@ void setRecordBarsCb(Fl_Widget *w, void* data)
|
||||||
long bars = (long)data;
|
long bars = (long)data;
|
||||||
if(bars == -2){
|
if(bars == -2){
|
||||||
const char* answer = fl_input("Enter a custom number: ");
|
const char* answer = fl_input("Enter a custom number: ");
|
||||||
|
if(!answer)
|
||||||
|
bars = -1;
|
||||||
|
else
|
||||||
bars = atoi(answer);
|
bars = atoi(answer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue