Lines 2950-2955
Link Here
|
2950 |
strcpy (oldname, filename); |
2950 |
strcpy (oldname, filename); |
2951 |
strcpy (filename, |
2951 |
strcpy (filename, |
2952 |
gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs))); |
2952 |
gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs))); |
|
|
2953 |
|
2954 |
if (strstr(filename, ".cht") == NULL) |
2955 |
strcat(filename, ".cht"); |
2956 |
|
2953 |
if (datadir == NULL || (int)strlen (datadir) == 0) |
2957 |
if (datadir == NULL || (int)strlen (datadir) == 0) |
2954 |
{ |
2958 |
{ |
2955 |
tempstr = strrchr (filename, '/'); |
2959 |
tempstr = strrchr (filename, '/'); |