1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
jules 2007-08-06 16:25:19 +00:00
parent a4dcbf381e
commit 45cfdc3ea9
3 changed files with 6 additions and 3 deletions

View file

@ -1 +1,2 @@
#!/bin/bash
premake --file juce_premake.lua --cc gcc --target gnu

View file

@ -175,8 +175,8 @@ class CustomMenuComponent : public PopupMenuCustomComponent,
public:
CustomMenuComponent()
blobX (0),
blobY (0)
: blobX (0),
blobY (0)
{
// set off a timer to move a blob around on this component every
// 300 milliseconds - see the timerCallback() method.

View file

@ -2405,7 +2405,9 @@ int TextEditor::findWordBreakBefore (int position) const throw()
break;
}
const int type = getCharacterCategory (t [position - 1 - startOfBuffer]);
const int type = (position > startOfBuffer)
? getCharacterCategory (t [position - 1 - startOfBuffer])
: 0;
while (position > startOfBuffer)
{