diff --git a/apps/webbrowser/www.c b/apps/webbrowser/www.c index 11ed1384a..bc37ba9cf 100644 --- a/apps/webbrowser/www.c +++ b/apps/webbrowser/www.c @@ -842,7 +842,9 @@ add_pagewidget(char *text, unsigned char size, char *attrib, unsigned char type, void htmlparser_newline(void) { +#ifdef WITH_PETSCII char *wptr; +#endif /* WITH_PETSCII */ if(++newlines > 2) { return; @@ -862,9 +864,10 @@ htmlparser_newline(void) ++y; x = 0; +#ifdef WITH_PETSCII wptr = webpageptr - WWW_CONF_WEBPAGE_WIDTH; petsciiconv_topetscii(wptr, WWW_CONF_WEBPAGE_WIDTH); - (void)wptr; +#endif /* WITH_PETSCII */ if(y == WWW_CONF_WEBPAGE_HEIGHT) { loading = 0;