remove -t; prepare for mergint into master

This commit is contained in:
phillbush
2021-01-08 19:01:46 -03:00
parent 0783fd073c
commit 78fb523f9f
4 changed files with 10 additions and 20 deletions

View File

@@ -141,7 +141,7 @@ getoptions(int argc, char *argv[])
{
int ch;
while ((ch = getopt(argc, argv, "ip:rtw")) != -1) {
while ((ch = getopt(argc, argv, "ip:rw")) != -1) {
switch (ch) {
case 'i':
iflag = 1;
@@ -153,9 +153,6 @@ getoptions(int argc, char *argv[])
case 'r':
rflag = 1;
break;
case 't':
config.typetoselect = !config.typetoselect;
break;
case 'w':
wflag = 1;
break;
@@ -1376,8 +1373,6 @@ enteritem:
break;
default:
append:
if (!config.typetoselect)
break;
for (i = 0; i < 2; i++) {
append(text, buf, sizeof text, len);
if ((item = matchitem(currmenu, text, 0)))
@@ -1490,7 +1485,7 @@ main(int argc, char *argv[])
if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL)
errx(1, "XOpenIM: could not open input device");
/* get configuration */
/* process configuration and window class */
getresources();
classh.res_class = PROGNAME;
classh.res_name = getoptions(argc, argv);