Re: [Nautilus-list] [PATCH] fix drag and drop to side pane



I don't like using strlen to check for an empty string. I'd prefer that you use this:

exactly_one = uris[0] != NULL && (uris[1] == NULL || uris[1][0] == '\0');

The patch otherwise looks fine.

Ironically, I'm the one who made the g_strsplit change.

    -- Darin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]