@LiquidCake commented on this pull request.


> +     }
+
+       static glong temp_file_name_prefix_len = 
strlen(PERSISTENT_TEMP_FILE_NAME_PREFIX);
+
+       max_temp_file_number = 0;
+
+       foreach_dir(filename, dir)
+       {
+               utf8_filename = utils_get_utf8_from_locale(filename);
+
+               if (is_temp_saved_file(utf8_filename))
+               {
+                       temp_file_number_str = g_utf8_substring(utf8_filename, 
temp_file_name_prefix_len, -1);
+                       temp_file_number = atoi(temp_file_number_str);
+
+                       if (temp_file_number > max_temp_file_number)

done

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3911#discussion_r1650148695
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3911/review/[email protected]>

Reply via email to