Commits

mackx committed b7e774b

Fix copy-past problem for author in Properties dialog

  • Participants
  • Parent commits 7b6cd65

Comments (0)

Files changed (1)

File ctb/src/properties.c

     }
     
     //--------------------------------------------------------------------------
-    if (old_title) {
+    if (old_author) {
         label = gtk_label_new("Author");
         gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), label, TRUE, TRUE, 0);
 
         g_entry_author = gtk_entry_new();
-        gtk_entry_set_text ( GTK_ENTRY (g_entry_author), old_title );
+        gtk_entry_set_text ( GTK_ENTRY (g_entry_author), old_author );
         gtk_editable_select_region (GTK_EDITABLE (g_entry_author), 0, -1);
         gtk_entry_set_activates_default (GTK_ENTRY (g_entry_author), TRUE);