Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: cvs: apps wps-display.c,1.35,1.36 playlist.c,1.55,1.56 playlist.h,1.19,1.20

Re: cvs: apps wps-display.c,1.35,1.36 playlist.c,1.55,1.56 playlist.h,1.19,1.20

From: Magnus Holmgren <lear_at_algonet.se>
Date: Tue, 15 Oct 2002 17:05:08 +0200 (MEST)

Robert E. Hak wrote:

> Log Message:
> added %pn (playlist name) to wps

<...>

> + case 'n': /* Playlist Name (without path) */
> + playlist_name(buf, buf_size);
> + return buf;

Why not handle it like the file name (%fn)? I.e., use get_dir - and move the extension chopping there to a separate function (or maybe even let get_dir do that if -1 is passed as level)? >:)

  Magnus
Received on 2002-10-15

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy