Change Spec. of Raw output: Resize to max. size.
authorKoichi KAMICHI <kamichi@fonts.jp>
Fri, 12 Mar 2004 06:22:49 +0000 (06:22 +0000)
committerKoichi KAMICHI <kamichi@fonts.jp>
Fri, 12 Mar 2004 06:22:49 +0000 (06:22 +0000)
kagecgi/kagecgi.c

index 93f74c9..60910f1 100755 (executable)
@@ -191,7 +191,9 @@ int main(int argc, char *argv[]){
                }\r
        }\r
        else{ //raw(text)\r
+\r
                if(test2->len != 0){\r
+                       test2 = CalcSizes(test2, 1);\r
                        fprintf(stdout, "Content-type: text/plain\n\n");\r
                        fprintf(stdout, "result=%s", test2->str);\r
                }\r