# HG changeset patch # User Santeri Piippo # Date 1387413432 -7200 # Node ID e29a2ab838df4439b7e5b8b22bae49b8409d434c # Parent 0d6fce0628febe23c5e66c35b32985c630c9d69f - fixed minor goofup with for_axis diff -r 0d6fce0628fe -r e29a2ab838df src/gui_editactions.cc --- a/src/gui_editactions.cc Thu Dec 19 02:30:36 2013 +0200 +++ b/src/gui_editactions.cc Thu Dec 19 02:37:12 2013 +0200 @@ -716,9 +716,9 @@ // Create the comment object based on input str commentText = fmt ("!HISTORY %1 [%2] %3", - ui->m_date->date().toString ("yyyy-MM-dd"), - ui->m_username->text(), - ui->m_comment->text()); + ui->m_date->date().toString ("yyyy-MM-dd"), + ui->m_username->text(), + ui->m_comment->text()); LDComment* comm = new LDComment (commentText); diff -r 0d6fce0628fe -r e29a2ab838df src/main.h --- a/src/main.h Thu Dec 19 02:30:36 2013 +0200 +++ b/src/main.h Thu Dec 19 02:37:12 2013 +0200 @@ -125,7 +125,7 @@ #define properties private #define typedefs public #define methods -#define for_axes(AX) for (const Axis ax : std::initializer_list ({X, Y, Z})) +#define for_axes(AX) for (const Axis AX : std::initializer_list ({X, Y, Z})) // ----------------------------------------------------------------------------- #ifdef IN_IDE_PARSER // KDevelop workarounds: