mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[glass] Fix NT int64 value display (#8038)
This commit is contained in:
@@ -1404,7 +1404,7 @@ static void EmitEntryValueEditable(NetworkTablesModel* model,
|
||||
}
|
||||
case NT_INTEGER: {
|
||||
int64_t v = val.GetInteger();
|
||||
if (InputExpr<int64_t>(typeStr, &v, "%d",
|
||||
if (InputExpr<int64_t>(typeStr, &v, "%" PRId64,
|
||||
ImGuiInputTextFlags_EnterReturnsTrue)) {
|
||||
if (entry.publisher == 0) {
|
||||
entry.publisher = nt::Publish(entry.info.topic, NT_INTEGER, "int");
|
||||
|
||||
Reference in New Issue
Block a user