From f098f650b45f2652d660c99f66df7b627214edbc Mon Sep 17 00:00:00 2001 From: Joris Mooij Date: Fri, 5 Sep 2008 17:25:33 +0200 Subject: [PATCH] Fixed little bug in fg2dot.cpp --- utils/fg2dot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/fg2dot.cpp b/utils/fg2dot.cpp index 53e7048..a505b7e 100644 --- a/utils/fg2dot.cpp +++ b/utils/fg2dot.cpp @@ -44,7 +44,7 @@ int main( int argc, char *argv[] ) { cerr << "Error reading file " << infile << endl; return 2; } else { - if( string( argv[2] ) == "-" ) + if( string( argv[2] ) != "-" ) fg.WriteToDotFile( argv[2] ); else { cout << "graph G {" << endl; -- 2.20.1