aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 1e2c960e..d41fa258 100644
--- a/main.cpp
+++ b/main.cpp
@@ -23,7 +23,7 @@ int arg_shift (arg* a) {
}
int main (int argc, char** argv) {
- arg args = { .argc = argc, .argv = argv };
+ arg args = { argc, argv };
if (arg_shift(&args) == 0) {
ERR("Please give vdir or a vcalendar file as first argument");