Browse Source

fixed capital in option

naelstrof 7 years ago
parent
commit
3da6afac7c
3 changed files with 3 additions and 1 deletions
  1. 1
    1
      src/options.hpp
  2. 1
    0
      src/rectangle.hpp
  3. 1
    0
      src/slop.cpp

+ 1
- 1
src/options.hpp View File

@@ -28,7 +28,7 @@
28 28
 #include <vector>
29 29
 #include <glm/glm.hpp>
30 30
 
31
-static std::string validStringArguments[] = { "borderSize", "padding", "color", "shader", "highlight", "format" };
31
+static std::string validStringArguments[] = { "bordersize", "padding", "color", "shader", "highlight", "format" };
32 32
 static char validCharArguments[] = { 'b', 'p', 'c', 's', 'h', 'f' };
33 33
 // 0 for flag, 1 for how many arguments to eat up
34 34
 static unsigned int isFlagArgument[] = { false, false, false, false, true, false };

+ 1
- 0
src/rectangle.hpp View File

@@ -17,6 +17,7 @@
17 17
  * You should have received a copy of the GNU General Public License
18 18
  * along with Slop.  If not, see <http://www.gnu.org/licenses/>.
19 19
  */
20
+
20 21
 #ifndef N_RECTANGLE_H_
21 22
 #define N_RECTANGLE_H_
22 23
 

+ 1
- 0
src/slop.cpp View File

@@ -91,6 +91,7 @@ SlopSelection SlopSelect( SlopOptions* options, bool* cancelled ) {
91 91
     while( memory.running ) {
92 92
         // This is specifically for wayland updates.
93 93
         wl_display_dispatch_pending(wayland->display);
94
+        // We move our statemachine forward.
94 95
         memory.update( 1 );
95 96
 
96 97
         // Then we draw our junk to a framebuffer.