-------------------------------------------------------------------

Fri May  5 10:25:10 IST 2006 - smanojna@novell.com

- Description:
  Bug 165283: CASA docs and About screen states that CASA runs on
  Mac OSX which does not currently.

- Modified files:
  package/linux/CASA.spec.in

-------------------------------------------------------------------
This commit is contained in:
smanojna
2006-05-05 05:16:47 +00:00
parent d2592918a5
commit 92f63891ed
3 changed files with 21 additions and 15 deletions

View File

@@ -61,13 +61,16 @@ public class Common
public static int MAX_LEN = 512;
//static Char[] SpecialCharacters = new Char[]{ '*' };
static Char[] SpecialCharacters = new Char[]{ '`', '~', '@', '#', '$', '%',
'^', '&', '*', '(', ')',
'_', '=', '+', '|', '\\',
'{', '}', '[', ']', ':',
';', '\"', '\'', '<', '>',
',', '.', '?', '/', '!'};
///##############################################################
/// SPI CONSTANTS
///
@@ -399,17 +402,10 @@ public class Common
/// </summary>
public static bool ValidateString(string sString)
{
Console.WriteLine("ValidateString(): " + sString);
if( -1 == sString.IndexOfAny(SpecialCharacters) )
{
//Console.WriteLine("VS: true");
return true;
}
else
{
//Console.WriteLine("VS: false");
return false;
}
}
}