Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
Make it clearer to spot which function does the actual work.
  • Loading branch information
mfn committed Jan 10, 2010
1 parent 5569a5b commit 47f9829
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions radiant/mainframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4218,7 +4218,9 @@ void MainFrame::OnSelectionSelectNudgedown()
return;
Undo_Start("nudge down");
Undo_AddBrushList(&selected_brushes);

NudgeSelection(3, g_qeglobals.d_gridsize);

Undo_EndBrushList(&selected_brushes);
Undo_End();
}
Expand All @@ -4229,7 +4231,9 @@ void MainFrame::OnSelectionSelectNudgeleft()
return;
Undo_Start("nudge left");
Undo_AddBrushList(&selected_brushes);

NudgeSelection(0, g_qeglobals.d_gridsize);

Undo_EndBrushList(&selected_brushes);
Undo_End();
}
Expand All @@ -4240,7 +4244,9 @@ void MainFrame::OnSelectionSelectNudgeright()
return;
Undo_Start("nudge right");
Undo_AddBrushList(&selected_brushes);

NudgeSelection(2, g_qeglobals.d_gridsize);

Undo_EndBrushList(&selected_brushes);
Undo_End();
}
Expand All @@ -4251,7 +4257,9 @@ void MainFrame::OnSelectionSelectNudgeup()
return;
Undo_Start("nudge up");
Undo_AddBrushList(&selected_brushes);

NudgeSelection(1, g_qeglobals.d_gridsize);

Undo_EndBrushList(&selected_brushes);
Undo_End();
}
Expand Down

0 comments on commit 47f9829

Please sign in to comment.