Font.java (isBold): Fix syntax error.
* java/awt/Font.java(isBold): Fix syntax error. (isItalic): ditto. * java/awt/Frame.java(postEvent): ditto. * java/awt/Menu.java(postEvent): ditto. * java/awt/MenuBar.java(postEvent): ditto. * java/awt/Toolkit.java(init): Included a stub. From-SVN: r32723
This commit is contained in:
@@ -52,7 +52,7 @@ public class Font
|
||||
|
||||
public boolean isBold()
|
||||
{
|
||||
if (style & BOLD == BOLD)
|
||||
if ((style & BOLD) == BOLD)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
@@ -60,7 +60,7 @@ public class Font
|
||||
|
||||
public boolean isItalic()
|
||||
{
|
||||
if (style & ITALIC == ITALIC)
|
||||
if ((style & ITALIC) == ITALIC)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user