2007-07-16 23:36:13 +02:00
|
|
|
autooptimiser.cpp: In function 'int main(int, char**)':
|
|
|
|
autooptimiser.cpp:136: warning: comparison with string literal results in unspecified behaviour
|
|
|
|
--- src/tools/autooptimiser.cpp
|
|
|
|
+++ src/tools/autooptimiser.cpp
|
|
|
|
@@ -133,7 +133,7 @@
|
|
|
|
|
|
|
|
Panorama pano;
|
|
|
|
PanoramaMemento newPano;
|
|
|
|
- if (scriptFile == "-") {
|
2007-10-03 00:56:57 +02:00
|
|
|
+ if (strcmp(scriptFile,"-") == 0) {
|
2007-07-16 23:36:13 +02:00
|
|
|
if (newPano.loadPTScript(cin)) {
|
|
|
|
pano.setMemento(newPano);
|
|
|
|
} else {
|