mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 12:15:34 +08:00
Fix remote id cannot modify error
This commit is contained in:
@@ -548,7 +548,9 @@ int main() {
|
||||
static const char *connect_label = "Connect";
|
||||
{
|
||||
static char remote_id[20] = "";
|
||||
if (strcmp(remote_id, "") == 0) {
|
||||
strcpy(remote_id, GetMac(mac_addr).c_str());
|
||||
}
|
||||
ImGui::Text("REMOTE ID:");
|
||||
ImGui::SameLine();
|
||||
ImGui::SetNextItemWidth(110);
|
||||
|
||||
Reference in New Issue
Block a user