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