Skip to content

Commit fe6456f

Browse files
committedOct 27, 2015
fix windows build again (followup 3dcabfb and 70bff3f)
1 parent b505be2 commit fe6456f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/core/qgsrenderchecker.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,9 @@ bool QgsRenderChecker::compareImages( const QString& theTestName,
257257
}
258258
if ( ! theRenderedImageFile.isEmpty() )
259259
{
260-
#ifndef Q_OS_WIN
261260
mRenderedImageFile = theRenderedImageFile;
262-
#else
263-
mRenderedImageFile = theRenderedImageFile.replace( "\\", "/" );
261+
#ifdef Q_OS_WIN
262+
mRenderedImageFile = mRenderedImageFile.replace( "\\", "/" );
264263
#endif
265264
}
266265

0 commit comments

Comments
 (0)
Please sign in to comment.