Skip to content

Commit

Permalink
Fix GCC compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Feb 5, 2024
1 parent 9d89b3e commit 162f2b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imnodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2283,8 +2283,8 @@ void BeginNodeEditor()

// Copy config settings in IO from main context, avoiding input fields
memcpy(
&GImNodes->ZoomImgCtx->IO,
&GImNodes->OriginalImgCtx->IO,
(void*)&GImNodes->ZoomImgCtx->IO,
(void*)&GImNodes->OriginalImgCtx->IO,
offsetof(ImGuiIO, SetPlatformImeDataFn) +
sizeof(GImNodes->OriginalImgCtx->IO.SetPlatformImeDataFn));

Expand Down

0 comments on commit 162f2b7

Please sign in to comment.