We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fed846 commit d213e48Copy full SHA for d213e48
src/ui/audio.cpp
@@ -145,8 +145,8 @@ bool audio_open() {
145
bool result;
146
ma_backend backends[] = {
147
// uncomment for audio in linux
148
- //ma_backend_alsa,
149
- //ma_backend_jack,
+ ma_backend_alsa,
+ ma_backend_jack,
150
//ma_backend_pulseaudio,
151
ma_backend_wasapi,
152
ma_backend_dsound
src/ui/textedit.cpp
@@ -412,6 +412,9 @@ char EditBuffer::getChar(int pos) {
412
}
413
414
int EditBuffer::insertChars(int pos, const char *text, int num) {
415
+ if (num == 1 && *text < 0) {
416
+ return 0;
417
+ }
418
int required = _len + num + 1;
419
if (required >= _size) {
420
_size += (required + GROW_SIZE);
0 commit comments