projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2599c97
)
only store screen/deskx,y if isnt != null
author
Carsten Haitzler
<raster@rasterman.com>
Sun, 22 Apr 2012 02:42:10 +0000
(
02:42
+0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Sun, 22 Apr 2012 02:42:10 +0000
(
02:42
+0000)
SVN revision: 70380
src/bin/e_exec.c
patch
|
blob
|
history
diff --git
a/src/bin/e_exec.c
b/src/bin/e_exec.c
index
b3dabb0
..
49756f4
100644
(file)
--- a/
src/bin/e_exec.c
+++ b/
src/bin/e_exec.c
@@
-1,4
+1,4
@@
-#
i
nclude "e.h"
+#nclude "e.h"
#define MAX_OUTPUT_CHARACTERS 5000
@@
-121,9
+121,12
@@
e_exec(E_Zone *zone, Efreet_Desktop *desktop, const char *exec,
}
else
inst = _e_exec_cb_exec(launch, NULL, strdup(exec), 0);
- inst->screen = zone->num;
- inst->desk_x = e_desk_current_get(zone)->x;
- inst->desk_y = e_desk_current_get(zone)->y;
+ if (inst)
+ {
+ inst->screen = zone->num;
+ inst->desk_x = e_desk_current_get(zone)->x;
+ inst->desk_y = e_desk_current_get(zone)->y;
+ }
return inst;
}