Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: m-labs/mtk
base: 8aeb1a0
...
head fork: m-labs/mtk
compare: c6447f0
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
View
6 lib/i18n.c
@@ -33,6 +33,12 @@ const char *mtk_translate(char *original)
if(original == NULL)
return NULL;
+ /* Don't translate strings starting with escape */
+ if(*original == '\e')
+ return original+1;
+ /* Don't translate empty strings */
+ if(*original == 0)
+ return original;
if(current_table == NULL)
return original;
i = 0;
View
2  lib/libmtk-generic.mk
@@ -28,7 +28,7 @@ SRC_C += \
tokenizer.c userstate.c variable.c \
scope.c i18n.c clipboard.c \
bigmouse.c default_fnt.c main.c \
- smallmouse.c mono_fnt.c title_fnt.c \
+ mono_fnt.c title_fnt.c \
scrdrv.c eventmsg.c \
sharedmem.c gfx_scr16.c scheduler.c \
vera16_tff.c vera20_tff.c edit.c \
View
25 lib/smallmouse.c
@@ -1,25 +0,0 @@
-struct {
- short width,height;
- short pixels[16][16];
-} smallmouse_trp = {
- 16,16,
- {
- {0x738E,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x94B2,0x6B4D,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x630C,0xA514,0xBDF7,0x6B4D,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x630C,0xBDF7,0xFFFF,0xB5B6,0x6B4D,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x630C,0x4A49,0x630C,0xD6BA,0xFFFF,0xB5B6,0x630C,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x4A49,0x528A,0x630C,0x9492,0x738E,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x630C,0x1082,0x4208,0x630C,0x7BCF,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x630C,0x630C,0x4208,0xBDF7,0x7BCF,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x630C,0x0000,0x0000,0x4208,0xBDF7,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
- {0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000},
-
-}
-};
View
2  lib/winlayout.c
@@ -135,7 +135,7 @@ static WIDGET *create_win_elements(s32 elements, int x, int y, int width, int he
}
if ((elements & WIN_TITLE) | (elements & WIN_CLOSER) | (elements & WIN_FULLER)) {
- first=new_button(first,dx,dy,dw,tsize,"MTK WINDOW",move_callback,WE_TITLE);
+ first=new_button(first,dx,dy,dw,tsize,"\eMTK WINDOW",move_callback,WE_TITLE);
dy+=tsize;dh-=tsize;
}

No commit comments for this range

Something went wrong with that request. Please try again.