]> wimlib.net Git - wimlib/blobdiff - programs/imagex.c
Add 2013 to copyright notices
[wimlib] / programs / imagex.c
index ed0f24dce3bc853c4f3c60151152ae74c051138a..9b42ab99fb1700b7b9e8682de892990a82d9a169 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 /*
- * Copyright (C) 2012 Eric Biggers
+ * Copyright (C) 2012, 2013 Biggers
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -785,9 +785,9 @@ static int imagex_capture_or_append(int argc, const char **argv)
        }
 
        ret = wimlib_add_image(w, source, name,
-                              config_str ? config_str : default_capture_config,
-                              config_len, add_image_flags,
-                              imagex_progress_func);
+                              (config_str ? config_str : default_capture_config),
+                              (config_str ? config_len : strlen(default_capture_config)),
+                              add_image_flags, imagex_progress_func);
 
        if (ret != 0)
                goto out;
@@ -1725,7 +1725,7 @@ static void version()
 {
        static const char *s =
        "imagex (" PACKAGE ") " PACKAGE_VERSION "\n"
-       "Copyright (C) 2012 Eric Biggers\n"
+       "Copyright (C) 2012, 2013 Biggers\n"
        "License GPLv3+; GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n"
        "This is free software: you are free to change and redistribute it.\n"
        "There is NO WARRANTY, to the extent permitted by law.\n"