]> sigrok.org Git - pulseview.git/blobdiff - main.cpp
DecodeTrace: Try to keep annotation labels within the view
[pulseview.git] / main.cpp
index daec62d2af09055409677d90885bc9faac5ce4af..3e00479664aeb5f4b6a151a9d853fd6ac54da605 100644 (file)
--- 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();
                }