mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
a4dcbf381e
commit
45cfdc3ea9
3 changed files with 6 additions and 3 deletions
|
|
@ -1 +1,2 @@
|
|||
#!/bin/bash
|
||||
premake --file juce_premake.lua --cc gcc --target gnu
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue