diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-06-10 18:17:42 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-06-23 09:05:35 (GMT) |
commit | f665e020846463feda0d6907d9a9084919ae8641 (patch) | |
tree | b30aa9b57c7e2c158115ddf3ee776b1c98ec0a36 /qmake | |
parent | 87ee2e1c4497c67626db09a631577debea362fba (diff) | |
download | Qt-f665e020846463feda0d6907d9a9084919ae8641.zip Qt-f665e020846463feda0d6907d9a9084919ae8641.tar.gz Qt-f665e020846463feda0d6907d9a9084919ae8641.tar.bz2 |
fix prompt() stdin safety check
Reviewed-by: joerg
Diffstat (limited to 'qmake')
-rw-r--r-- | qmake/project.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 9cf6a6f..5c8066b 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -2191,7 +2191,7 @@ QMakeProject::doProjectExpand(QString func, QList<QStringList> args_list, if(args.count() != 1) { fprintf(stderr, "%s:%d prompt(question) requires one argument.\n", parser.file.toLatin1().constData(), parser.line_no); - } else if(projectFile() == "-") { + } else if(pfile == "-") { fprintf(stderr, "%s:%d prompt(question) cannot be used when '-o -' is used.\n", parser.file.toLatin1().constData(), parser.line_no); } else { |