From 3704cba94ad85c7f80b21d2fc86266aa34fa0641 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 25 Oct 2004 21:32:50 +0000 Subject: [PATCH] This is funny. This commit fixes the crash in BTextView. Something has to be severely broken somewhere in TextView.cpp, or am I missing something ? git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9506 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/BTextView/LineBuffer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kits/interface/BTextView/LineBuffer.h b/src/kits/interface/BTextView/LineBuffer.h index cf32d61498..5b58fdddda 100644 --- a/src/kits/interface/BTextView/LineBuffer.h +++ b/src/kits/interface/BTextView/LineBuffer.h @@ -31,6 +31,8 @@ typedef struct STELine { long offset; // offset of first character of line float origin; // pixel position of top of line float ascent; // maximum ascent for line + float padding; // TODO: Don't remove this, as something in + // TextView.cpp is broken and will crash } STELine, *STELinePtr;