mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
RichEdit: Fix to compile with x86 MSVC compiler. (#349)
This commit is contained in:
parent
af8a2952dd
commit
7cd17f4a3c
2 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ void DiagramEditor::TheBar(Bar& bar)
|
|||
}
|
||||
else {
|
||||
m.pos = Pointf(Point(isz)) / 2;
|
||||
m.size = m.pos - 2;
|
||||
m.size = m.pos - 2.0;
|
||||
}
|
||||
m.width = log(m.width + 1);
|
||||
bar.Add(MakeIcon(m, isz), [=] {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ Image DiagramEditor::ShapeIcon(int i)
|
|||
}
|
||||
else {
|
||||
m.pos = Pointf(Point(isz)) / 2;
|
||||
m.size = m.pos - 2;
|
||||
m.size = m.pos - 2.0;
|
||||
}
|
||||
m.width = DPI(1);
|
||||
m.paper = Null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue