From eec68e54330b9c3dfda43cb9699d2f0f57334d79 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 19 May 2014 16:37:09 +0100 Subject: Scope reduce some variables. --- atari/about.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'atari/about.c') diff --git a/atari/about.c b/atari/about.c index dd6e39cff..174e27b20 100644 --- a/atari/about.c +++ b/atari/about.c @@ -16,9 +16,9 @@ * along with this program. If not, see . */ -#include -#include -#include +#include +#include +#include #include #include #include @@ -28,7 +28,7 @@ #include "atari/plot/plot.h" #include "atari/gemtk/gemtk.h" #include "atari/res/netsurf.rsh" -#include "atari/about.h" +#include "atari/about.h" #include "testament.h" #include "utils/useragent.h" @@ -37,7 +37,7 @@ #include "utils/messages.h" -#include "curl/curlver.h" +#include "curl/curlver.h" static OBJECT * about_form = NULL; @@ -50,9 +50,6 @@ static short __CDECL about_userdraw(PARMBLK *parmblock) { short pxy[8]; short dummy; - int content_len; - char *content; - short cur_x, cur_y; short cheight = 8, cwidth = gl_wchar; char c[2] = {0,0}; @@ -73,6 +70,9 @@ static short __CDECL about_userdraw(PARMBLK *parmblock) }; if(parmblock->pb_currstate == parmblock->pb_prevstate){ + short cur_x, cur_y; + char *content; + int content_len; content = (char*)parmblock->pb_parm; content_len = strlen(content); -- cgit v1.2.3