History

Cosmetic

malc committed 5 years ago

Commit fa672d71 parent cb72b951 file · +4 −8Browse files

Unified · Split

link.c+4−8
@@ -1080,8 +1080,7 @@ static void search (regex_t *re, int pageno, int y, int forward) · 1079 unmodified lines
1080 }1080 }
1081 else {1081 else {
1082 printd ("progress %f searching in page %d",1082 printd ("progress %f searching in page %d",
1083 (double) (pageno + 1) / state.pagecount,1083 (double) (pageno + 1) / state.pagecount, pageno);
1084 pageno);
1085 }1084 }
1086 }1085 }
1087 pdim = pdimofpageno (pageno);1086 pdim = pdimofpageno (pageno);
@@ -1185,8 +1184,7 @@ static void realloctexts (int texcount) · 97 unmodified lines
1185 }1184 }
1186 1185
1187 if (texcount < state.tex.count) {1186 if (texcount < state.tex.count) {
1188 glDeleteTextures (state.tex.count - texcount,1187 glDeleteTextures (state.tex.count - texcount, state.tex.ids + texcount);
1189 state.tex.ids + texcount);
1190 }1188 }
1191 1189
1192 size = texcount * (sizeof (*state.tex.ids) + sizeof (*state.tex.owners));1190 size = texcount * (sizeof (*state.tex.ids) + sizeof (*state.tex.owners));
@@ -1398,8 +1396,7 @@ static void *mainloop (void UNUSED_ATTR *unused) · 205 unmodified lines
1398 }1396 }
1399 1397
1400 pattern = p + len2;1398 pattern = p + len2;
1401 ret = regcomp (&re, pattern,1399 ret = regcomp (&re, pattern, REG_EXTENDED | icase ? REG_ICASE : 0);
1402 REG_EXTENDED | (icase ? REG_ICASE : 0));
1403 if (ret) {1400 if (ret) {
1404 char errbuf[80];1401 char errbuf[80];
1405 size_t size;1402 size_t size;
@@ -1518,8 +1515,7 @@ static void *mainloop (void UNUSED_ATTR *unused) · 112 unmodified lines
1518 1515
1519 printd ("tile %d %d %" PRIxPTR " %u %f",1516 printd ("tile %d %d %" PRIxPTR " %u %f",
1520 x, y, (uintptr_t) tile,1517 x, y, (uintptr_t) tile,
1521 tile->w * tile->h * tile->pixmap->n,1518 tile->w * tile->h * tile->pixmap->n, b - a);
1522 b - a);
1523 break;1519 break;
1524 }1520 }
1525 case Ctrimset: {1521 case Ctrimset: {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t