Skip to content

Commit

Permalink
fix(WeaselUI): specify default label format in constructor
Browse files Browse the repository at this point in the history
If weasel.yaml is not updated to include style/label_format due to issue
of librime 1.3.0, fallback to default value initialized with WeaselUI's
construction.

Fixes #147
  • Loading branch information
Prcuvu committed Mar 23, 2018
1 parent fbdb667 commit 4374d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/WeaselUI.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace weasel
inline_preedit(false),
preedit_type(COMPOSITION),
display_tray_icon(false),
label_text_format(),
label_text_format(L"%s."),
layout_type(LAYOUT_VERTICAL),
min_width(0),
min_height(0),
Expand Down

0 comments on commit 4374d24

Please sign in to comment.