Skip to content

Commit 30de6af

Browse files
author
rugginoso
committed
fixed a typing error.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10959 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent c24efc4 commit 30de6af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/composer/qgscomposerlabel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void QgsComposerLabel::setText( const QString& text )
6868
//check if there is a bracket just after $CURRENT_DATE
6969
QString formatText;
7070
int openingBracketPos = mText.indexOf("(", currentDatePos);
71-
int closingBracketPos = mText.indexOf(")", openingBracket + 1);
71+
int closingBracketPos = mText.indexOf(")", openingBracketPos + 1);
7272
if(openingBracketPos != -1 && closingBracketPos != -1 && (closingBracketPos - openingBracketPos) > 1 )
7373
{
7474
formatText = mText.mid(openingBracketPos + 1, closingBracketPos - openingBracketPos - 1);

0 commit comments

Comments
 (0)