Skip to content

Commit c3c13f4

Browse files
committed
fix for ImGui API change in v1.92.x
1 parent 0a74b05 commit c3c13f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImFileDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <pwd.h>
2525
#endif
2626

27-
#define ICON_SIZE ImGui::GetFont()->FontSize + 3
27+
#define ICON_SIZE ImGui::GetFontSize() + 3
2828
#define GUI_ELEMENT_SIZE std::max(GImGui->FontSize + 10.f, 24.f)
2929
#define DEFAULT_ICON_SIZE 32
3030
#define PI 3.141592f

0 commit comments

Comments
 (0)