From 41aa27f02f7aba9bdb6b8d1a19bc4d1ca7d6aa61 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 22 Jan 2025 17:18:22 +0800 Subject: [PATCH] fix labels --- sndlock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sndlock.cpp b/sndlock.cpp index 3edd815..5dc0979 100644 --- a/sndlock.cpp +++ b/sndlock.cpp @@ -534,7 +534,7 @@ int main(int argc, char* argv[]) ImGui::InputFloat(str, &init_current_heating_l, 1.0f, 500.0f, "%.3f"); init_current_heating[i] = init_current_heating_l; ImGui::SameLine(); - sprintf(str, "temp °C##%d", i); + sprintf(str, "temp °C ##%d", i); float init_temp_l = init_temp[i]; ImGui::InputFloat(str, &init_temp_l, 1.0f, 500.0f, "%.4f"); init_temp[i] = init_temp_l; @@ -549,7 +549,7 @@ int main(int argc, char* argv[]) ImGui::InputFloat(str, &leadin_current_l, 1.0f, 500.0f, "%.3f"); leadin_current[i] = leadin_current_l; ImGui::SameLine(); - sprintf(str, "threshold##%d", i); + sprintf(str, "threshold ##%d", i); float leadin_thr_l = leadin_thr[i]; ImGui::InputFloat(str, &leadin_thr_l, 0.0f, 0.001f, "%.6f"); leadin_thr[i] = leadin_thr_l;