From: Maxim Mamontov <faust.madf@gmail.com>
Date: Mon, 14 Jan 2013 19:29:36 +0000 (+0200)
Subject: Patch from SpiderX <spiderx@spiderx.dp.ua> - convertor -> sgconv
X-Git-Tag: 2.409~379
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/517400b7934a39872ffa02370ac7aa1264bec114

Patch from SpiderX <spiderx@spiderx.dp.ua> - convertor -> sgconv
---

diff --git a/projects/sgconv/Makefile b/projects/sgconv/Makefile
index 04c00cc4..794114c7 100644
--- a/projects/sgconv/Makefile
+++ b/projects/sgconv/Makefile
@@ -4,7 +4,7 @@
 
 include ../../Makefile.conf
 
-PROG = convertor
+PROG = sgconv
 
 SRCS = ./main.cpp \
        ./settings_impl.cpp
diff --git a/projects/sgconv/build b/projects/sgconv/build
index 471ee62c..601c0161 100755
--- a/projects/sgconv/build
+++ b/projects/sgconv/build
@@ -46,13 +46,13 @@ fi
 if [ "$OS" = "unknown" ]
 then 
     echo "#############################################################################"
-    echo "# Sorry, but convertor currently supported by Linux, FreeBSD 4.x, 5.x, 6.x  #"
+    echo "# Sorry, but sgconv currently supported by Linux, FreeBSD 4.x, 5.x, 6.x     #"
     echo "#############################################################################"
     exit 1
 fi
 
 echo "#############################################################################"
-echo "       Building convertor for $sys $release"
+echo "       Building sgconv for $sys $release"
 echo "#############################################################################"
 
 STG_LIBS="logger.lib 
diff --git a/projects/sgconv/settings_impl.h b/projects/sgconv/settings_impl.h
index eec21d68..3dfb9596 100644
--- a/projects/sgconv/settings_impl.h
+++ b/projects/sgconv/settings_impl.h
@@ -38,7 +38,7 @@ class DOTCONFDocumentNode;
 
 class SETTINGS_IMPL {
 public:
-    SETTINGS_IMPL() : confFile("./convertor.conf") {}
+    SETTINGS_IMPL() : confFile("./sgconv.conf") {}
     SETTINGS_IMPL(const std::string & cf) : confFile(cf) {}
     ~SETTINGS_IMPL() {}
     int ReadSettings();