Fixed minor typo mistakes.
This commit is contained in:
parent
56a576c2b3
commit
6c675d0e6e
|
@ -105,7 +105,7 @@ public class CFrame extends JFrame
|
||||||
if (title != null)
|
if (title != null)
|
||||||
{
|
{
|
||||||
int pos = title.indexOf('&');
|
int pos = title.indexOf('&');
|
||||||
if (pos != -1 && title.length() > pos) // We have a nemonic
|
if (pos != -1 && title.length() > pos) // We have a mnemonic
|
||||||
{
|
{
|
||||||
int mnemonic = title.toUpperCase().charAt(pos+1);
|
int mnemonic = title.toUpperCase().charAt(pos+1);
|
||||||
if (mnemonic != ' ')
|
if (mnemonic != ' ')
|
||||||
|
|
Loading…
Reference in New Issue