Skip to content

Instantly share code, notes, and snippets.

@sortie
Created November 12, 2016 13:21
Show Gist options
  • Select an option

  • Save sortie/a4dd8dfcf124c6af4fca54ef27a0818a to your computer and use it in GitHub Desktop.

Select an option

Save sortie/a4dd8dfcf124c6af4fca54ef27a0818a to your computer and use it in GitHub Desktop.
kblayout-compiler.diff
diff --git a/kblayout-compiler/kblayout-compiler.c b/kblayout-compiler/kblayout-compiler.c
index f38e640..b89e83c 100644
--- a/kblayout-compiler/kblayout-compiler.c
+++ b/kblayout-compiler/kblayout-compiler.c
@@ -601,6 +601,8 @@ int main(int argc, char* argv[])
}
break;
}
+ if ( !found_key )
+ printf("%s\n", line);
assert(found_key);
}
free(line);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment