mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 08:15:59 +01:00
Updated coding standard
This commit is contained in:
parent
4c19c798f7
commit
5e7a774101
10 changed files with 175 additions and 176 deletions
|
@ -33,8 +33,7 @@ cc_print(girara_session_t* session, char* input)
|
||||||
char* p = strtok(output, "\n");
|
char* p = strtok(output, "\n");
|
||||||
char* q;
|
char* q;
|
||||||
|
|
||||||
while(p)
|
while (p) {
|
||||||
{
|
|
||||||
if (!(p = strstr(p, "device for ")) || !(q = strchr(p, ':'))) {
|
if (!(p = strstr(p, "device for ")) || !(q = strchr(p, ':'))) {
|
||||||
p = strtok(NULL, "\n");
|
p = strtok(NULL, "\n");
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue