Przeglądaj źródła

fixed typo for -b= setting

naelstrof 10 lat temu
rodzic
commit
ed384cf57e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      options.cpp

+ 1
- 1
options.cpp Wyświetl plik

@@ -32,7 +32,7 @@ int slop::Options::parseOptions( int argc, char** argv ) {
32 32
     // It looks complicated because you have to have spaces for delimiters for sscanf.
33 33
     for ( int i=0; i<argc; i++ ) {
34 34
         std::string arg = argv[i];
35
-        if ( matches( arg, "--b=", "--bordersize=" ) ) {
35
+        if ( matches( arg, "-b=", "--bordersize=" ) ) {
36 36
             int err = parseInt( arg, &m_borderSize );
37 37
             if ( err ) {
38 38
                 return 1;