Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jafl committed Dec 30, 2023
1 parent 89aebd6 commit 84e79c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/jx_layout_editor/code/LayoutUndo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ LayoutUndo::Undo()
{
auto* newUndo = jnew LayoutUndo(itsDoc);

std::istringstream input(itsData.GetRawBytes(), itsData.GetByteCount());
std::istringstream input(itsData.GetBytes());
itsDoc->ReadFile(input, true);

LayoutDocument* doc = itsDoc;
Expand Down

0 comments on commit 84e79c8

Please sign in to comment.