X-Git-Url: http://git.tdb.fi/?p=ttf2png.git;a=blobdiff_plain;f=ttf2png.c;h=1b1106a9f03bff035d4b9e2dc53e260840ce668f;hp=ebc0ccce76f43fee0e93b3c43d756bc129a900bc;hb=6def1722d1157378ddd6c6ef53673865510e3ed0;hpb=9d1111afe554231e89dcaa574234ecd1813526a4 diff --git a/ttf2png.c b/ttf2png.c index ebc0ccc..1b1106a 100644 --- a/ttf2png.c +++ b/ttf2png.c @@ -159,6 +159,8 @@ int main(int argc, char **argv) cellw = strtol(optarg, &ptr, 0); if(ptr[0]=='x' && isdigit(ptr[1])) cellh = strtol(ptr+1, NULL, 0); + else + cellh = cellw; } break; case 'o':