From 5b14586967f7cb622b7b6932f159ac91cab725cc Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 27 Feb 2021 18:52:51 +0000 Subject: [PATCH] waver : fix emscripten build --- examples/waver/common.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/waver/common.cpp b/examples/waver/common.cpp index 63abf23..8e72e76 100644 --- a/examples/waver/common.cpp +++ b/examples/waver/common.cpp @@ -910,6 +910,11 @@ void renderMain() { stateCurrent.update = false; } + if (settings.txProtocols.empty()) { + printf("No Tx Protocols available\n"); + return; + } + if (g_focusFileSend) { windowId = WindowId::Files; subWindowIdFiles = SubWindowIdFiles::Send;