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
 #include <vector>
28
 #include <vector>
29
 #include <glm/glm.hpp>
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
 static char validCharArguments[] = { 'b', 'p', 'c', 's', 'h', 'f' };
32
 static char validCharArguments[] = { 'b', 'p', 'c', 's', 'h', 'f' };
33
 // 0 for flag, 1 for how many arguments to eat up
33
 // 0 for flag, 1 for how many arguments to eat up
34
 static unsigned int isFlagArgument[] = { false, false, false, false, true, false };
34
 static unsigned int isFlagArgument[] = { false, false, false, false, true, false };

+ 1
- 0
src/rectangle.hpp View File

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

+ 1
- 0
src/slop.cpp View File

91
     while( memory.running ) {
91
     while( memory.running ) {
92
         // This is specifically for wayland updates.
92
         // This is specifically for wayland updates.
93
         wl_display_dispatch_pending(wayland->display);
93
         wl_display_dispatch_pending(wayland->display);
94
+        // We move our statemachine forward.
94
         memory.update( 1 );
95
         memory.update( 1 );
95
 
96
 
96
         // Then we draw our junk to a framebuffer.
97
         // Then we draw our junk to a framebuffer.