repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git]
/
nailer
/
check-args.diff
blob
a6a9a44aba793327a961026668b83b9a59de12ae
1
--- src/main.c.orig 2008-09-21 20:05:41.747639967 +0200
2
+++ src/main.c 2008-09-21 20:14:17.604347888 +0200
3
@@ -41,6 +41,10 @@
4
5
int main(gint argc, gchar * argv[])
6
{
7
+ if (argc == 1) {
8
+ printf("%s\n", "Missing filename, try `nailer --help'");
9
+ return 1;
10
+ }
11
12
GError *error;
13
GdkPixbuf *pb_prescale;