projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs: fix race between quota disable and quota assign ioctls
[platform/kernel/linux-rpi.git]
/
lib
/
fonts
/
fonts.c
diff --git
a/lib/fonts/fonts.c
b/lib/fonts/fonts.c
index
5f4b07b
..
9738664
100644
(file)
--- a/
lib/fonts/fonts.c
+++ b/
lib/fonts/fonts.c
@@
-135,8
+135,8
@@
const struct font_desc *get_default_font(int xres, int yres, u32 font_w,
if (res > 20)
c += 20 - res;
- if ((font_w & (1 << (f->width - 1))) &&
- (font_h & (1 << (f->height - 1))))
+ if ((font_w & (1
U
<< (f->width - 1))) &&
+ (font_h & (1
U
<< (f->height - 1))))
c += 1000;
if (c > cc) {