git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get rid of EOL spaces
[pandora-libraries.git]
/
minimenu
/
mmenu.c
diff --git
a/minimenu/mmenu.c
b/minimenu/mmenu.c
index
6ada53f
..
be38fb0
100644
(file)
--- a/
minimenu/mmenu.c
+++ b/
minimenu/mmenu.c
@@
-448,7
+448,7
@@
static unsigned int is_dir_empty ( char *fullpath ) {
} else {
// something else came in, so dir must not be empty
closedir ( d );
} else {
// something else came in, so dir must not be empty
closedir ( d );
- return ( 0 );
+ return ( 0 );
}
de = readdir ( d );
}
de = readdir ( d );
@@
-663,7
+663,7
@@
void applications_scan ( void ) {
( pnd_pxml_get_x11 ( iter -> option_no_x11 ) == pnd_pxml_x11_required && g_x11_present == 1 )
)
{
( pnd_pxml_get_x11 ( iter -> option_no_x11 ) == pnd_pxml_x11_required && g_x11_present == 1 )
)
{
-
+
if ( iter -> title_en == NULL || iter -> title_en [ 0 ] == '\0' ) {
// null title; just skip it.
} else {
if ( iter -> title_en == NULL || iter -> title_en [ 0 ] == '\0' ) {
// null title; just skip it.
} else {
@@
-836,7
+836,7
@@
void emit_and_run ( char *buffer ) {
} else {
// child, do it
execl ( "/bin/sh", "/bin/sh", "-c", buffer + strlen(MM_RUN) + 1, (char*) NULL );
} else {
// child, do it
execl ( "/bin/sh", "/bin/sh", "-c", buffer + strlen(MM_RUN) + 1, (char*) NULL );
- }
+ }
return;
}
return;
}