freebsd-ports/x11-wm/e-module-mem/files/patch-src-e_mod_main.c
Grzegorz Blach 273c6e6d76 - Merge EFL libraries into devel/efl and update to 1.12.0
- Update x11-toolkits/elementary to 1.12.0
- Update x11-wm/enlightenment to 0.19.1
- Update graphics/evas_generic_loaders-* to 1.12.0
- Update devel/e_dbus to 1.7.10
- Update benchmarks/expedite to 1.7.10
- Move some of x11-wm/e17-module-* to x11-wm/e-module-*
  and update to recent snapshots
- Add multimedia/emotion_generic_players-vlc
- Add multimedia/rage

Reviewed by:	crees, antoine
2014-11-25 03:07:22 +00:00

17 lines
638 B
C

diff -ur src.old/e_mod_main.c src/e_mod_main.c
--- src.old/e_mod_main.c 2010-11-13 17:56:21.000000000 +0200
+++ src/e_mod_main.c 2012-02-21 23:43:46.548797357 +0200
@@ -424,11 +424,9 @@
if (!inst->ci->show_percent)
{
- snprintf (real_str, sizeof (real_str), "Real: %d/%d MB", (real / 1024),
- (total_real / 1024));
+ snprintf (real_str, sizeof (real_str), "Real: %d/%d MB", real, total_real);
if ( total_swap )
- snprintf (swap_str, sizeof (swap_str), "Swap: %d/%d MB", (swap / 1024),
- (total_swap / 1024));
+ snprintf (swap_str, sizeof (swap_str), "Swap: %d/%d MB", swap, total_swap);
}
else
{