1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-12-02 14:05:43 -05:00

fix strncpy typo

This commit is contained in:
Pandora 2018-02-14 01:02:12 -05:00
parent 5a8c96ea4c
commit 7d21942206
3 changed files with 14 additions and 6 deletions

View file

@ -27,7 +27,7 @@ V='#bb00bbbb' # verifying
--keyhlcolor=$W \
--bshlcolor=$W \
\
--screen 0 \
--screen 1 \
--blur 5 \
--clock \
--indicator \

View file

@ -23,11 +23,19 @@ V='#bb00bbbb' # verifying
\
--clock \
--force-clock \
--timepos 125:h-110 \
--timepos 5:h-80 \
--timecolor 880088ff \
--datepos 5:ty \
--datecolor 770077ff \
--datepos tx:ty+15 \
--datecolor 990099ff \
--date-align 1 \
--time-align 1 \
--ringvercolor 8800ff88 \
--ringwrongcolor ff008888
--ringwrongcolor ff008888 \
--statuspos 5:h-16 \
--verif-align 1 \
--wrong-align 1 \
--verifcolor ffffffff \
--wrongcolor ffffffff \
--modifpos -50:-50 \
\
--screen 1

View file

@ -786,7 +786,7 @@ xcb_pixmap_t draw_image(uint32_t *resolution) {
if (layout_text) {
draw_data.keylayout_text.show = true;
strncpy(draw_data.keylayout_text.str, layout_text, sizeof(draw_data.mod_text.str));
strncpy(draw_data.keylayout_text.str, layout_text, sizeof(draw_data.keylayout_text.str));
draw_data.keylayout_text.size = layout_size;
draw_data.keylayout_text.font = get_font_face(LAYOUT_FONT);
draw_data.keylayout_text.color = layout16;