[gnome-commander] noop: Variable renamed
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: Variable renamed
- Date: Sun, 29 Aug 2021 13:13:55 +0000 (UTC)
commit bdb76803d69e9e56015e9d7d1f9784619e26689d
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Aug 29 13:13:02 2021 +0200
noop: Variable renamed
src/dialogs/gnome-cmd-search-dialog.cc | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 3b3bad4d..ea598767 100644
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -356,21 +356,21 @@ inline gboolean SearchData::content_matches(GnomeCmdFile *f)
if (get_gfile_attribute_uint64(f->gFile, G_FILE_ATTRIBUTE_STANDARD_SIZE) == 0)
return FALSE;
- SearchFileData *search_file = g_new0 (SearchFileData, 1);
- search_file->uri_str = f->get_uri_str();
- search_file->result = gnome_vfs_open (&search_file->handle, search_file->uri_str, GNOME_VFS_OPEN_READ);
+ SearchFileData *searchFileData = g_new0 (SearchFileData, 1);
+ searchFileData->uri_str = f->get_uri_str();
+ searchFileData->result = gnome_vfs_open (&searchFileData->handle, searchFileData->uri_str,
GNOME_VFS_OPEN_READ);
- if (search_file->result != GNOME_VFS_OK)
+ if (searchFileData->result != GNOME_VFS_OK)
{
- g_warning (_("Failed to read file %s: %s"), search_file->uri_str, gnome_vfs_result_to_string
(search_file->result));
- free_search_file_data (search_file);
+ g_warning (_("Failed to read file %s: %s"), searchFileData->uri_str, gnome_vfs_result_to_string
(searchFileData->result));
+ free_search_file_data (searchFileData);
return FALSE;
}
regmatch_t match;
- while (read_search_file(search_file, f))
- if (regexec (content_regex, search_file->mem, 1, &match, 0) != REG_NOMATCH)
+ while (read_search_file(searchFileData, f))
+ if (regexec (content_regex, searchFileData->mem, 1, &match, 0) != REG_NOMATCH)
return TRUE; // stop on first match
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]