X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=main.cpp;h=3e00479664aeb5f4b6a151a9d853fd6ac54da605;hp=daec62d2af09055409677d90885bc9faac5ce4af;hb=refs%2Fheads%2Fpulseview-0.3.x;hpb=dddff2e7c658aa84f67186ade0a4845b5fb0b43f diff --git a/main.cpp b/main.cpp index daec62d2..3e004796 100644 --- a/main.cpp +++ b/main.cpp @@ -131,7 +131,7 @@ int main(int argc, char *argv[]) } if (argc - optind > 1) { - fprintf(stderr, "Only one file can be openened.\n"); + fprintf(stderr, "Only one file can be opened.\n"); return 1; } else if (argc - optind == 1) { open_file = argv[argc - 1]; @@ -183,7 +183,7 @@ int main(int argc, char *argv[]) // Run the application ret = a.exec(); - } catch(std::exception e) { + } catch (std::exception e) { qDebug() << e.what(); }