diff --git a/dict/stardict-plugins/stardict-multi-cmd-plugin/stardict_multi_cmd.cpp b/dict/stardict-plugins/stardict-multi-cmd-plugin/stardict_multi_cmd.cpp
index 012e5bb..63e97c4 100644
--- a/dict/stardict-plugins/stardict-multi-cmd-plugin/stardict_multi_cmd.cpp
+++ b/dict/stardict-plugins/stardict-multi-cmd-plugin/stardict_multi_cmd.cpp
@@ -97,7 +97,7 @@ static void multi_lookup(const char *text, char **dict_name, char ****pppWord, c
 		ppppWordData[dict_count-1][0][1] = (gchar **)NULL;
 	}
 	dict_name = (gchar **)g_realloc(dict_name, dict_count+1);
-	dict_name[dict_count] = (gchar *)'\0';
+	*dict_name[dict_count] = '\0';
 }
 
 void on_cmd_path_defaultbutton_clicked(GtkWidget *widget, GtkTextBuffer *buffer)
