c8202d99df0aa4ac3b592b5557822a65253214a4 galt Mon Sep 12 14:13:31 2016 -0700 fixed typo diff --git src/lib/cheapcgi.c src/lib/cheapcgi.c index 4e08f3d..cc3a7c9 100644 --- src/lib/cheapcgi.c +++ src/lib/cheapcgi.c @@ -1545,31 +1545,31 @@ * variable set to false. */ { char buf[256]; cgiMakeHiddenVar(name, on ? "on" : "off"); safef(buf, sizeof(buf), "%s%s", cgiBooleanShadowPrefix(), name); cgiMakeHiddenVarWithExtra(buf, "1",BOOLSHAD_EXTRA); } void cgiMakeTextArea(char *varName, char *initialVal, int rowCount, int columnCount) /* Make a text area with area rowCount X columnCount and with text: intialVal */ { cgiMakeTextAreaDisableable(varName, initialVal, rowCount, columnCount, FALSE); } void cgiMakeTextAreaDisableable(char *varName, char *initialVal, int rowCount, int columnCount, boolean disabled) -/* Make a text area that can be disabled. The rea has rowCount X +/* Make a text area that can be disabled. The area has rowCount X * columnCount and with text: intialVal */ { printf("", varName, rowCount, columnCount, disabled ? "DISABLED" : "", (initialVal != NULL ? initialVal : "")); } void cgiMakeOnKeypressTextVar(char *varName, char *initialVal, int charSize, char *script) /* Make a text control filled with initial value, with a (java)script * to execute every time a key is pressed. If charSize is zero it's * calculated from initialVal size. */ { if (initialVal == NULL) initialVal = "";