disabled the use of _BWidthBuffer_ until the app_server font backend implements B_BITMAP_SPACING. Small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19004 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d4f8d429da
commit
4dd74f2945
@ -54,7 +54,7 @@ using namespace std;
|
||||
#endif
|
||||
|
||||
|
||||
#define USE_WIDTHBUFFER 1
|
||||
#define USE_WIDTHBUFFER 0
|
||||
#define USE_DOUBLEBUFFERING 0
|
||||
|
||||
|
||||
@ -4416,10 +4416,9 @@ BTextView::HandleInputMethodLocationRequest()
|
||||
message.AddInt32("be:opcode", B_INPUT_METHOD_LOCATION_REQUEST);
|
||||
|
||||
// Add the location of the UTF8 characters
|
||||
float height = 0;
|
||||
BPoint where;
|
||||
while (offset < limit) {
|
||||
where = PointAt(offset, &height);
|
||||
float height;
|
||||
BPoint where = PointAt(offset, &height);
|
||||
ConvertToScreen(&where);
|
||||
|
||||
message.AddPoint("be:location_reply", where);
|
||||
|
Loading…
Reference in New Issue
Block a user