~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to src/nvim/memline.c

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20160418214219-1e6d4o1fwqarzk46
Tags: 0.1.3-1
* New upstream release.  (Closes: #820562)
* debian/control:
  + Remove unnecessary luarocks Build-Depends
  + Add libkvm-dev Build-Depends for kfreebsd-*
  + Add python(3)-neovim to Recommends.  (Closes: #812737)
  + Declare compiance with policy 3.9.8, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
426
426
    /* try to rename the swap file */
427
427
    if (vim_rename(mfp->mf_fname, fname) == 0) {
428
428
      success = TRUE;
429
 
      xfree(mfp->mf_fname);
430
 
      mfp->mf_fname = fname;
431
 
      xfree(mfp->mf_ffname);
432
 
      mf_set_ffname(mfp);
 
429
      mf_free_fnames(mfp);
 
430
      mf_set_fnames(mfp, fname);
433
431
      ml_upd_block0(buf, UB_SAME_DIR);
434
432
      break;
435
433
    }