mirror of
https://github.com/bakkeby/dwm-flexipatch
synced 2024-11-09 01:10:26 +00:00
17 lines
317 B
C
17 lines
317 B
C
static char rawstext[256];
|
|
static const char statusexport[] = "export BUTTON=-;";
|
|
static int statuscmdn;
|
|
static int lastbutton;
|
|
|
|
void
|
|
copyvalidchars(char *text, char *rawtext)
|
|
{
|
|
int i = -1, j = 0;
|
|
|
|
while (rawtext[++i]) {
|
|
if ((unsigned char)rawtext[i] >= ' ') {
|
|
text[j++] = rawtext[i];
|
|
}
|
|
}
|
|
text[j] = '\0';
|
|
} |