Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/b2330bf4261c65deb9bc672382a7296dfc5295c9
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/b2330bf4261c65deb9bc672382a7296dfc5295c9
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/b2330bf4261c65deb9bc672382a7296dfc5295c9

The branch, master has been updated
       via  b2330bf4261c65deb9bc672382a7296dfc5295c9 (commit)
      from  b2d810c17747e62ca847037c2a7c4b76c3874894 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commitdiff/b2330bf4261c65deb9bc672382a7296dfc5295c9
commit b2330bf4261c65deb9bc672382a7296dfc5295c9
Author: Ole Loots <[email protected]>
Commit: Ole Loots <[email protected]>

    Removed junk...

diff --git a/atari/settings.c b/atari/settings.c
index 0c87597..010680a 100644
--- a/atari/settings.c
+++ b/atari/settings.c
@@ -414,7 +414,7 @@ static char * toolbar_iconset_popup( int x, int y )
                        snprintf(fullpath, PATH_MAX-1, "%s/%s", toolbar_folder, 
ep->d_name );
                        if (is_dir(fullpath)) {
                                if (strcmp(ep->d_name, current) == 0)
-                                                       selected = navail;
+                                       selected = navail;
                                        /* store the folder name: */
                                        avail[navail] = malloc( 
strlen(ep->d_name)+1 );
                                        sprintf( avail[navail], "%s", 
ep->d_name );
@@ -422,11 +422,6 @@ static char * toolbar_iconset_popup( int x, int y )
                                        if( navail >= MAX_SETS )
                                                break;
                        }
-                       if (stat(fullpath, &statbuf) == 0) {
-                               if (S_ISDIR(statbuf.st_mode)) {
-
-                               }
-                       }
                }
                (void) closedir (dp);
        }


-----------------------------------------------------------------------

Summary of changes:
 atari/settings.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/atari/settings.c b/atari/settings.c
index 0c87597..010680a 100644
--- a/atari/settings.c
+++ b/atari/settings.c
@@ -414,7 +414,7 @@ static char * toolbar_iconset_popup( int x, int y )
                        snprintf(fullpath, PATH_MAX-1, "%s/%s", toolbar_folder, 
ep->d_name );
                        if (is_dir(fullpath)) {
                                if (strcmp(ep->d_name, current) == 0)
-                                                       selected = navail;
+                                       selected = navail;
                                        /* store the folder name: */
                                        avail[navail] = malloc( 
strlen(ep->d_name)+1 );
                                        sprintf( avail[navail], "%s", 
ep->d_name );
@@ -422,11 +422,6 @@ static char * toolbar_iconset_popup( int x, int y )
                                        if( navail >= MAX_SETS )
                                                break;
                        }
-                       if (stat(fullpath, &statbuf) == 0) {
-                               if (S_ISDIR(statbuf.st_mode)) {
-
-                               }
-                       }
                }
                (void) closedir (dp);
        }


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to