]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.cc
fix off-by-one error and do not use magic constant of 100 when checking StackPost
[apt.git] / cmdline / apt-extracttemplates.cc
index dc4c110a122fbbd0261c808f8039bd7c4325f14b..8fe15fdf928dc57be8323204aba42611dff856be 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <locale.h>
+
 #include <fstream>
 
-#include <locale.h>
-#include <apti18n.h>
 #include "apt-extracttemplates.h"
+
+#include <apti18n.h>
                                                                        /*}}}*/
 
 using namespace std;
@@ -224,7 +226,7 @@ bool DebFile::ParseInfo()
 /* */
 int ShowHelp(void)
 {
-       ioprintf(cout,_("%s %s for %s compiled on %s %s\n"),PACKAGE,VERSION,
+       ioprintf(cout,_("%s %s for %s compiled on %s %s\n"),PACKAGE,PACKAGE_VERSION,
            COMMON_ARCH,__DATE__,__TIME__);
 
        if (_config->FindB("version") == true)