forked from len0rd/rockbox
Make codepage Win-1250 actually work on charcell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14946 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f463a44adf
commit
227181deb0
2 changed files with 4 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ static const char cp_2_table[NUM_CODEPAGES] =
|
||||||
|
|
||||||
#else /* !HAVE_LCD_BITMAP, reduced support */
|
#else /* !HAVE_LCD_BITMAP, reduced support */
|
||||||
|
|
||||||
#define MAX_CP_TABLE_SIZE 512
|
#define MAX_CP_TABLE_SIZE 640
|
||||||
#define NUM_TABLES 1
|
#define NUM_TABLES 1
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,8 @@
|
||||||
|
|
||||||
#define MAX_TABLE_SIZE 32768
|
#define MAX_TABLE_SIZE 32768
|
||||||
|
|
||||||
static const int mini_index[5] = {
|
static const int mini_index[6] = {
|
||||||
0, 1, 3, 6, 7
|
0, 1, 3, 6, 7, 8
|
||||||
};
|
};
|
||||||
|
|
||||||
static unsigned short iso_table[MAX_TABLE_SIZE];
|
static unsigned short iso_table[MAX_TABLE_SIZE];
|
||||||
|
|
@ -207,7 +207,7 @@ int main(int argc, char **argv)
|
||||||
of = fopen("isomini.cp", "wb");
|
of = fopen("isomini.cp", "wb");
|
||||||
if (!of) return 1;
|
if (!of) return 1;
|
||||||
|
|
||||||
for (i=1; i<5; i++) {
|
for (i=1; i<6; i++) {
|
||||||
|
|
||||||
for (j=0; j<128; j++) {
|
for (j=0; j<128; j++) {
|
||||||
k = (unsigned char)j + 128;
|
k = (unsigned char)j + 128;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue