Subversion Repositories Kolibri OS

Rev

Rev 7742 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7742 Rev 7749
Line 65... Line 65...
65
0}; 
65
0}; 
Line 66... Line 66...
66
 
66
 
Line 67... Line 67...
67
 
67
 
68
byte unicode_chars[] = "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯àáâãäåæçèéêëìíîïðñh£\243i\105\244\0";
68
byte unicode_chars[] = "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯àáâãäåæçèéêëìíîïðñh£\243i\105\244\0";
69
 
69
 
Line 70... Line 70...
70
unsigned char GetUnicodeSymbol()
70
bool GetUnicodeSymbol(dword in_tag)
71
{
71
{
72
	int j;
72
	int j;
73
	
73
	
74
	for (j=0; unicode_tags[j]!=0; j+=2;) 
74
	for (j=0; unicode_tags[j]!=0; j+=2;) 
75
	{
75
	{
76
		if (!strcmp(#tag, unicode_tags[j]))
76
		if (!strcmp(in_tag, unicode_tags[j]))
77
		{
77
		{
Line 78... Line 78...
78
			strcat(#line, unicode_tags[j+1]);
78
			strcat(#line, unicode_tags[j+1]);
79
			return NULL;
79
			return true;
80
		}
80
		}
81
	}
81
	}
-
 
82
 
82
	
83
	j = atoi(in_tag + 1) - 1040;
Line 83... Line -...
83
	j = atoi(#tag + 1) - 1040;
-
 
84
	if (tag[1] == '1') && (j>=0) && (j<=72) && (strlen(#tag) == 5)
84
	if (tag[1] == '1') && (j>=0) && (j<=72) && (strlen(in_tag) == 5)
85
	{
85
	{