http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0750bfb
)
richedit: Prevent division by zero when 0-width border is used.
author
Eric Pouech
<eric.pouech@orange.fr>
Sun, 16 Mar 2008 20:45:31 +0000
(21:45 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 17 Mar 2008 13:18:36 +0000
(14:18 +0100)
dlls/riched20/paint.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/riched20/paint.c
b/dlls/riched20/paint.c
index 868764446695975fd607f5fd96c8ee249fe16ecc..91d5ec01f500dd68bf3c302568945a578ce419e3 100644
(file)
--- a/
dlls/riched20/paint.c
+++ b/
dlls/riched20/paint.c
@@
-290,7
+290,7
@@
static void ME_DrawRun(ME_Context *c, int x, int y, ME_DisplayItem *rundi, ME_Pa
}
static struct {unsigned width_num : 4, width_den : 4, pen_style : 4, dble : 1;} border_details[] = {
- /* none */ {0,
0
, PS_SOLID, FALSE},
+ /* none */ {0,
1
, PS_SOLID, FALSE},
/* 3/4 */ {3, 4, PS_SOLID, FALSE},
/* 1 1/2 */ {3, 2, PS_SOLID, FALSE},
/* 2 1/4 */ {9, 4, PS_SOLID, FALSE},