[Pkg-e-commits] [SCM] Enlightenment 17 branch, upstream-vcs, updated. a4f99cdaf59e45e3fa16746e0ae90039333bb158
englebass
englebass at alioth.debian.org
Fri Mar 21 14:51:37 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit ed579c99d1f2fed2da0fc05981bbc3025336a9e7
Author: englebass <englebass>
Date: Thu Mar 13 19:10:27 2008 +0000
simpler way to set an empty string.
diff --git a/src/bin/e_fm_hal.c b/src/bin/e_fm_hal.c
index b22ca5f..a659047 100644
--- a/src/bin/e_fm_hal.c
+++ b/src/bin/e_fm_hal.c
@@ -146,7 +146,7 @@ e_fm2_hal_volume_add(E_Volume *v)
else if (ecore_file_is_dir("/tmp"))
snprintf(buf, sizeof(buf), "/tmp/%s", id);
else
- snprintf(buf, sizeof(buf), "");
+ buf[0] = 0;
v->mount_point = strdup(buf);
}
}
--
Enlightenment 17
More information about the Pkg-e-commits
mailing list