diff --git a/src/pw3270/common/config.c b/src/pw3270/common/config.c index 3a42296..751ba79 100644 --- a/src/pw3270/common/config.c +++ b/src/pw3270/common/config.c @@ -53,7 +53,7 @@ #ifdef WIN_REGISTRY_ENABLED - static const gchar *registry_path = "SOFTWARE\\"; + static const gchar *registry_path = "SOFTWARE"; #else diff --git a/src/pw3270/main.c b/src/pw3270/main.c index 23e0a48..8ad83c1 100644 --- a/src/pw3270/main.c +++ b/src/pw3270/main.c @@ -143,8 +143,8 @@ int main(int argc, char *argv[]) { static const GOptionEntry app_options[] = { - { "appname", 'a', 0, G_OPTION_ARG_STRING, &appname, N_( "Application name" ), PACKAGE_NAME }, - { "host", 'h', 0, G_OPTION_ARG_STRING, &host, N_( "Host to connect"), NULL }, + { "appname", 'a', 0, G_OPTION_ARG_STRING, &appname, N_( "Application name" ), PACKAGE_NAME }, + { "host", 'h', 0, G_OPTION_ARG_STRING, &host, N_( "Host to connect"), NULL }, { NULL } }; -- libgit2 0.21.2