stable backport of various fixes from trunk

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1972 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2009-01-27 00:21:37 +00:00
parent 4fefc16f4b
commit 8b3d3f33a7
6 changed files with 20 additions and 5 deletions

View File

@@ -2399,7 +2399,7 @@ static int cmd_ansi (Word *w, int align, char has_param, int param) {
*=======================================================================*/
static int cmd_ansicpg (Word *w, int align, char has_param, int param) {
int i;
unsigned int i;
for (i = 0; i < sizeof(codepages) / sizeof(CodepageInfo); i ++) {
charset_codepage = &codepages[i];
if (charset_codepage->cp == param) {

View File

@@ -877,7 +877,7 @@ static const char* cp850 [] = {
/* 0xff */ "&nbsp;",
};
#if 1 /* daved - 0.20.3 */
static char * Greek[] =
static const char * Greek[] =
{
/* 0x80 */ "&ccedil;",
/* 0x81 */ "&uuml;",

View File

@@ -285,7 +285,7 @@ typedef struct {
#if 1 /* daved 0.20.3 GREEK font support */
short greek_first_char;
short greek_last_char;
char **greek_translation_table;
const char **greek_translation_table;
#endif
char *(*unisymbol_print) (unsigned short);