summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-01-10 16:38:20 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-01-10 16:38:20 +0000
commit3e320c2ff4e6291da1adcebb5f958efd8a730368 (patch)
tree4740e193161a687abaf5a2242bd883af7d7ad477
parent30c446194e388d77490a642810c88b575124b4e7 (diff)
downloadenlightenment-3e320c2ff4e6291da1adcebb5f958efd8a730368.tar.gz
and compile again!
SVN revision: 27896
-rw-r--r--src/bin/e_fm_prop.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/e_fm_prop.c b/src/bin/e_fm_prop.c
index 5a9282a8da..11bcf881d6 100644
--- a/src/bin/e_fm_prop.c
+++ b/src/bin/e_fm_prop.c
@@ -149,24 +149,24 @@ _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
char buf[4096];
int fperm = 0;
- if (((fi->statinfo.st_mode & S_IRUSR) && (cfdata->owner_read)) ||
- ((!fi->statinfo.st_mode & S_IRUSR) && (!cfdata->owner_read)))
+ if (((cfdata->fi->statinfo.st_mode & S_IRUSR) && (cfdata->owner_read)) ||
+ ((!cfdata->fi->statinfo.st_mode & S_IRUSR) && (!cfdata->owner_read)))
fperm = 1;
- if (((fi->statinfo.st_mode & S_IWUSR) && (cfdata->owner_write)) ||
- ((!fi->statinfo.st_mode & S_IWUSR) && (!cfdata->owner_write)))
+ if (((cfdata->fi->statinfo.st_mode & S_IWUSR) && (cfdata->owner_write)) ||
+ ((!cfdata->fi->statinfo.st_mode & S_IWUSR) && (!cfdata->owner_write)))
fperm = 1;
- if (((fi->statinfo.st_mode & S_IROTH) && (cfdata->others_read)) ||
- ((!fi->statinfo.st_mode & S_IROTH) && (!cfdata->others_read)))
+ if (((cfdata->fi->statinfo.st_mode & S_IROTH) && (cfdata->others_read)) ||
+ ((!cfdata->fi->statinfo.st_mode & S_IROTH) && (!cfdata->others_read)))
fperm = 1;
- if (((fi->statinfo.st_mode & S_IWOTH) && (cfdata->others_write)) ||
- ((!fi->statinfo.st_mode & S_IWOTH) && (!cfdata->others_write)))
+ if (((cfdata->fi->statinfo.st_mode & S_IWOTH) && (cfdata->others_write)) ||
+ ((!cfdata->fi->statinfo.st_mode & S_IWOTH) && (!cfdata->others_write)))
fperm = 1;
snprintf(buf, sizeof(buf), "%s/%s",
e_fm2_real_path_get(cfdata->fi->fm), cfdata->fi->file);
if (fperm)
{
/* FIXME: modify st_mode */
- chmod(buf, fi->statinfo.st_mode);
+ chmod(buf, cfdata->fi->statinfo.st_mode);
}
return 1; /* Apply was OK */
}