diff --git a/CMakeLists.txt b/CMakeLists.txt index f6d824c..d114187 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,7 @@ add_executable(ezremote_client add_self(ezremote_client) -add_pkg(ezremote_client ${CMAKE_SOURCE_DIR}/data "RMTC00001" "ezRemote Client" "01.28" 32 0) +add_pkg(ezremote_client ${CMAKE_SOURCE_DIR}/data "RMTC00001" "ezRemote Client" "01.29" 32 0) target_link_libraries(ezremote_client c diff --git a/source/windows.cpp b/source/windows.cpp index accdf59..07e8a02 100644 --- a/source/windows.cpp +++ b/source/windows.cpp @@ -327,11 +327,13 @@ namespace Windows if (ImGui::BeginCombo("##Site", display_site, ImGuiComboFlags_PopupAlignLeft | ImGuiComboFlags_HeightLargest | ImGuiComboFlags_NoArrowButton)) { static char site_id[64]; + static char site_display[512]; for (int n = 0; n < sites.size(); n++) { const bool is_selected = strcmp(sites[n].c_str(), last_site) == 0; sprintf(site_id, "%s %d", lang_strings[STR_SITE], n + 1); - if (ImGui::Selectable(site_id, is_selected)) + sprintf(site_display, "%s %d - %s", lang_strings[STR_SITE], n + 1, site_settings[sites[n]].server); + if (ImGui::Selectable(site_display, is_selected)) { sprintf(last_site, "%s", sites[n].c_str()); sprintf(display_site, "%s", site_id);