Commit 8017fd6b authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix the NS build due to introduction of B_.

 nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.
parent 75b43359
2011-02-15 Eli Zaretskii <eliz@gnu.org>
* nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.
2011-02-14 Michael Welsh Duggan <md5i@md5i.com>
 
* print.c (float_to_string): Ensure that a decimal point is
......@@ -605,8 +605,8 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
BLOCK_INPUT;
pool = [[NSAutoreleasePool alloc] init];
filename = XBUFFER (buf)->filename;
name = XBUFFER (buf)->name;
filename = B_ (XBUFFER (buf), filename);
name = B_ (XBUFFER (buf), name);
if (NILP (name))
{
......@@ -1428,7 +1428,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
NSString *promptS = NILP (prompt) || !STRINGP (prompt) ? nil :
[NSString stringWithUTF8String: SDATA (prompt)];
NSString *dirS = NILP (dir) || !STRINGP (dir) ?
[NSString stringWithUTF8String: SDATA (current_buffer->directory)] :
[NSString stringWithUTF8String: SDATA (B_ (current_buffer, directory))] :
[NSString stringWithUTF8String: SDATA (dir)];
NSString *initS = NILP (init) || !STRINGP (init) ? nil :
[NSString stringWithUTF8String: SDATA (init)];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment