debug_window: Use correct format specifier for double value

Specifier 'LF' is 'long double'.
This commit is contained in:
sephiroth99 2015-12-30 14:22:50 -05:00
parent fe30941c9b
commit 6b31ddfb42
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ bool DebugWindow::DrawRegisterTextBox(int id, double* value) {
} else {
input_flags |=
ImGuiInputTextFlags_CharsDecimal | ImGuiInputTextFlags_AutoSelectAll;
std::snprintf(buffer, xe::countof(buffer), "%.8LF", *value);
std::snprintf(buffer, xe::countof(buffer), "%.8F", *value);
}
char label[16] = {0};
std::snprintf(label, xe::countof(label), "##dregister%d", id);