Thu, 19 Dec 2013 02:37:12 +0200
- fixed minor goofup with for_axis
src/gui_editactions.cc | file | annotate | diff | comparison | revisions | |
src/main.h | file | annotate | diff | comparison | revisions |
--- 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);
--- 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<const Axis> ({X, Y, Z})) +#define for_axes(AX) for (const Axis AX : std::initializer_list<const Axis> ({X, Y, Z})) // ----------------------------------------------------------------------------- #ifdef IN_IDE_PARSER // KDevelop workarounds: