* src/haikuselect.c (Fhaiku_roster_launch): Canonicalize file
names before using them.
team_id team_id;
status_t rc;
ptrdiff_t i, nargs;
- Lisp_Object tem;
+ Lisp_Object tem, canonical;
void *message;
specpdl_ref depth;
{
CHECK_LIST (file_or_type);
tem = XCAR (file_or_type);
+ canonical = Fexpand_file_name (tem, Qnil);
CHECK_STRING (tem);
- SAFE_ALLOCA_STRING (file, ENCODE_FILE (tem));
+ SAFE_ALLOCA_STRING (file, ENCODE_FILE (canonical));
CHECK_LIST_END (XCDR (file_or_type), file_or_type);
}