font-path.diff 567 B

1234567891011121314
  1. diff -rup lcdtest-1.18.orig/src/lcdtest.c lcdtest-1.18/src/lcdtest.c
  2. --- lcdtest-1.18.orig/src/lcdtest.c 2010-01-26 09:26:30.000000000 +0300
  3. +++ lcdtest-1.18/src/lcdtest.c 2011-02-01 16:31:37.000000000 +0300
  4. @@ -742,7 +742,8 @@ int enumerate_sdl_modes (int *width, int
  5. }
  6. -const char font_path [] = "/usr/share/fonts/liberation/LiberationMono-Regular.ttf";
  7. +//const char font_path [] = "/usr/share/fonts/liberation/LiberationMono-Regular.ttf";
  8. +const char font_path [] = "/usr/share/fonts/TTF/LiberationMono-Regular.ttf";
  9. int main (int argc, char *argv [])
  10. {