Re: Tabbed interface: good progress
- From: "Patrick Hallinan" <patrick j hallinan gmail com>
- To: "discussions about usage and development of dia" <dia-list gnome org>
- Subject: Re: Tabbed interface: good progress
- Date: Tue, 24 Jul 2007 16:02:02 -0500
On 7/24/07, Lars Clausen <lars raeder dk> wrote:
On Sat, 2007-06-30 at 11:09 -0500, Patrick Hallinan wrote:
> I pull the filename from the filepath by searching for
> G_DIR_SEPARATOR_S. If I find the separator I increment the pointer by
> 1 to point to the beginning of the filename. I just wonder if this is
> portable with character encodings like UTF8 and such.
It is; UTF-8 guarantees that you don't find G_DIR_SEPARATOR as part of a
multi-byte character.
Thanks for the info!
I've changed my local copy to use the diagram_get_name() (or something like that) which I found when I was hacking on the exit code. I'll send that and some cleanup for the exit stuff soon.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]