From 20543cb74944f492adb4c21c8210761e57b1e6d4 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 29 Jan 2023 11:36:09 +0100 Subject: [PATCH] record: fix stop timeshift recordings; thx to jokel see https://www.neutrino-images.de/board/neutrino-allgemein-f4/allgemeine-probleme-und-antworten-t5364-s380.html#p38615 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5f5983727c5f79f71faed0dc8990732c6f91be88 Author: vanhofen Date: 2023-01-29 (Sun, 29 Jan 2023) Origin message was: ------------------ - record: fix stop timeshift recordings; thx to jokel see https://www.neutrino-images.de/board/neutrino-allgemein-f4/allgemeine-probleme-und-antworten-t5364-s380.html#p38615 ------------------ This commit was generated by Migit --- src/driver/record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 8b822020b..93aa28ae0 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1663,7 +1663,7 @@ bool CRecordManager::ShowMenu(void) if (inst->Timeshift()) mode_icon = NEUTRINO_ICON_MARKER_TIMESHIFT; - snprintf(cnt, sizeof(cnt), "%c", i); + snprintf(cnt, sizeof(cnt), "%d", i); //define stop key if only one record is running, otherwise define shortcuts neutrino_msg_t rc_key = CRCInput::convertDigitToKey(shortcut++); const char * btn_icon = NEUTRINO_ICON_BUTTON_OKAY;