aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-08 19:01:33 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-08 19:01:33 -0300
commite5f356b6f65cd58b682fdbc3247740945bd0b268 (patch)
tree6c99876ff24d8ac67baf81acd3e6c818cf14778f
parent23281d9afef0b1f0972458dbc84f48fd186e435e (diff)
Fix typo: GENERATORRUNNER_PUGIN_DIR => GENERATORRUNNER_PLUGIN_DIR
-rw-r--r--generatorrunnerconfig.h.in2
-rw-r--r--main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/generatorrunnerconfig.h.in b/generatorrunnerconfig.h.in
index 21ff345fa..93b6bb011 100644
--- a/generatorrunnerconfig.h.in
+++ b/generatorrunnerconfig.h.in
@@ -5,6 +5,6 @@
#define GENERATORRUNNER_VERSION "@generator_VERSION@"
// generatorrunner plugin dir
-#define GENERATORRUNNER_PUGIN_DIR "@generator_plugin_DIR@"
+#define GENERATORRUNNER_PLUGIN_DIR "@generator_plugin_DIR@"
#endif
diff --git a/main.cpp b/main.cpp
index 350fdaa4b..33b598af3 100644
--- a/main.cpp
+++ b/main.cpp
@@ -124,7 +124,7 @@ int main(int argc, char *argv[])
if (generatorSet.contains(QDir::separator()))
generatorFile = generatorSet;
else
- generatorFile = QString(GENERATORRUNNER_PUGIN_DIR) + "/lib" + generatorSet + "_generator";
+ generatorFile = QString(GENERATORRUNNER_PLUGIN_DIR) + "/lib" + generatorSet + "_generator";
QLibrary plugin(generatorFile);
getGeneratorsFunc getGenerators = reinterpret_cast<getGeneratorsFunc>(plugin.resolve("getGenerators"));