Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Nov 10, 2023
1 parent f3c9d76 commit 0fb2b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/cfl_button.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extern "C" {
void widget##_set_down_box(widget *self, int); \
int widget##_down_box(const widget *self); \
void widget##_set_compact(widget *self, unsigned char v); \
unsigned char widget##_compact(const widget *self);
unsigned char widget##_compact(widget *self);

WIDGET_DECLARE(Fl_Button)

Expand Down
2 changes: 1 addition & 1 deletion src/cfl_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
void widget##_set_compact(widget *self, unsigned char v) { \
LOCK(self->compact(v)); \
} \
unsigned char widget##_compact(const widget *self) { \
unsigned char widget##_compact(widget *self) { \
LOCK(auto ret = self->compact()); \
return ret; \
}
Expand Down

0 comments on commit 0fb2b6b

Please sign in to comment.