seems fine. is there a reason why you create a copy of the string?
text = gtk_editable_get_chars (editable, 0, -1);
char *p;
p=text;
while (*p) { if (*p=='/') *p='_'; ++p; }
should work as well, if textorig is not needed anywhere else
cheers
michele
On Thu, 2007-06-21 at 22:50 +0000, Nicolas Valcárcel wrote:
> i'm attaching a new patch, i'm not sure about it, please check it and
> correct. I'm not really comfortable with C
>
> ** Attachment added: "patch"
> http://launchpadlibrarian.net/8156007/gnome-mount-0.5.patch
>
--
Setting an invalid mount point can make a removeable media unaccessible
https://bugs.launchpad.net/bugs/107668
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs