diff --git a/Makefile b/Makefile index 4c8b750..24ac260 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,7 @@ uninstall: install: check uninstall @echo "Install ..." - @for FILE_PO in $(wildcard locale/*.po); do \ + @for FILE_PO in $(wildcard *.po); do \ LANG=$${FILE_PO##*_}; LANG=$${LANG%.*}; \ install -dm755 "${DESTDIR}/usr/share/locale/$${LANG}/LC_MESSAGES"; \ done diff --git a/source/ubl-settings-bootloader-melody.c b/source/ubl-settings-bootloader-melody.c index 24c4704..1d13893 100644 --- a/source/ubl-settings-bootloader-melody.c +++ b/source/ubl-settings-bootloader-melody.c @@ -5,7 +5,7 @@ void on_ringtone_accept(GtkWidget *,dictionary *dict){ yon_ringtone_window *window = yon_dictionary_get_data(dict->first->next,yon_ringtone_window*); const char *username = gtk_entry_get_text(GTK_ENTRY(window->NameEntry)); const char *password = gtk_entry_get_text(GTK_ENTRY(window->CodeEntry)); - if (!yon_char_is_empty(window->prev_name)){ + if (yon_char_is_empty(window->prev_name)){ GtkTreeIter iter; GtkTreeModel *model = GTK_TREE_MODEL(widgets->BootUsersList); for_iter(model,&iter){ diff --git a/source/ubl-settings-bootloader-user.c b/source/ubl-settings-bootloader-user.c index 71f8a40..c60d1c7 100644 --- a/source/ubl-settings-bootloader-user.c +++ b/source/ubl-settings-bootloader-user.c @@ -5,7 +5,7 @@ void on_user_accept(GtkWidget *,dictionary *dict){ yon_user_window *window = yon_dictionary_get_data(dict->first->next,yon_user_window*); const char *username = gtk_entry_get_text(GTK_ENTRY(window->UsernameEntry)); - if (!yon_char_is_empty(window->prev_name)){ + if (yon_char_is_empty(window->prev_name)){ GtkTreeIter iter; GtkTreeModel *model = GTK_TREE_MODEL(widgets->BootUsersList); for_iter(model,&iter){