Mercurial > mplayer.hg
view TOOLS/subfont-c/osd/gen_osd_h.c @ 10157:e21bdbee4de2
Make configure run even on non POSIX compliant shells (Solaris).
Patch by Gtz Waschk <waschk@informatik.uni-rostock.de>.
author | diego |
---|---|
date | Fri, 23 May 2003 00:24:28 +0000 |
parents | 9a754317898e |
children |
line wrap: on
line source
#include <stdio.h> int main() { int c; int cnt; printf("unsigned char osd_font_pfb[] = {"); for (cnt = 0;;cnt++) { if (cnt % 16 == 0) printf("\n"); c = getchar(); if (c < 0) break; printf("0x%02x,", c); } printf("};\n"); }