Fix broken characters >127 in the help window.
Fix broken characters >127 in normal fonts. (Pkm: I unsigned the characters during gcc port, please don't re-sign them :) Got rid of OEM->ANSI character translation in normal text. Now displays the nice '...' character for filenames that dont fit windows/menus. (dev) Added a sample Amstrad CPC picture with wide pixels. Remember to run grafx2 with '/wide' git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@394 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
files.c
4
files.c
@@ -118,7 +118,7 @@ char * Nom_formate(char * Nom, int Type)
|
||||
Resultat[Curseur]=Nom[Curseur];
|
||||
// Un caractère spécial pour indiquer que l'affichage est tronqué
|
||||
if (Curseur >= 12)
|
||||
Resultat[11]=CARACTERE_TRIANGLE_DROIT;
|
||||
Resultat[11]=CARACTERE_SUSPENSION;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -131,7 +131,7 @@ char * Nom_formate(char * Nom, int Type)
|
||||
}
|
||||
// Un caractère spécial pour indiquer que l'affichage est tronqué
|
||||
if (Curseur > 8)
|
||||
Resultat[7]=CARACTERE_TRIANGLE_DROIT;
|
||||
Resultat[7]=CARACTERE_SUSPENSION;
|
||||
// On recherche le dernier point dans le reste du nom
|
||||
for (Pos_DernierPoint = Curseur; Nom[Curseur]!='\0'; Curseur++)
|
||||
if (Nom[Curseur]=='.')
|
||||
|
||||
Reference in New Issue
Block a user