Browse Source

There seems to be no reason why pos_x is static...

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
04d15fb8f8
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/hci/mucurses/slk.c

+ 3
- 3
src/hci/mucurses/slk.c View File

41
 
41
 
42
 struct _softlabelkeys *slks;
42
 struct _softlabelkeys *slks;
43
 
43
 
44
-static unsigned short pos_x;
45
-
46
 /*
44
 /*
47
   I either need to break the primitives here, or write a collection of
45
   I either need to break the primitives here, or write a collection of
48
   functions specifically for SLKs that directly access the screen
46
   functions specifically for SLKs that directly access the screen
189
  */
187
  */
190
 int slk_clear ( void ) {
188
 int slk_clear ( void ) {
191
 	chtype space_ch;
189
 	chtype space_ch;
190
+	unsigned int pos_x;
191
+
192
 	if ( slks == NULL )
192
 	if ( slks == NULL )
193
 		return ERR;
193
 		return ERR;
194
 
194
 
287
  * @ret rc	return status code
287
  * @ret rc	return status code
288
  */
288
  */
289
 int slk_restore ( void ) {
289
 int slk_restore ( void ) {
290
-	unsigned int i, j,
290
+	unsigned int i, j, pos_x,
291
 		*next_space, *last_space;
291
 		*next_space, *last_space;
292
 	chtype space_ch;
292
 	chtype space_ch;
293
 
293
 

Loading…
Cancel
Save