aboutsummaryrefslogtreecommitdiffhomepage
path: root/mimedb.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-13 14:22:07 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-13 14:22:07 -0800
commit5ecd350311560cd199bf76d87d8aa6241ee2a2c5 (patch)
tree4ebdbae40ea8ffcba0633e9344622dcf1f8a7beb /mimedb.cpp
parent4b6c6c59b583ee8cba65226a96bacdb8b3a8d65a (diff)
Another attempt to make mimedb.cpp compile on Linux
Diffstat (limited to 'mimedb.cpp')
-rw-r--r--mimedb.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/mimedb.cpp b/mimedb.cpp
index 4b9b5b2a..29b230fd 100644
--- a/mimedb.cpp
+++ b/mimedb.cpp
@@ -678,8 +678,7 @@ static char *get_action( const char *mimetype )
{
char *res=0;
- const char *launcher;
- char *end;
+ const char *launcher, *end;
string_list_t mime_filenames;
const char *launcher_str = NULL;
@@ -741,8 +740,8 @@ static char *get_action( const char *mimetype )
/* Skip the = */
launcher++;
- /* Make one we can change */
- std::string mut_launcher = launcher;
+ /* Make one we can change */
+ std::string mut_launcher = launcher;
/* Only use first launcher */
end = strchr( launcher, ';' );