]> git.lyx.org Git - features.git/blobdiff - src/LyXSendto.C
a couple of name changes and new functionality in lyxvc and vc-backend
[features.git] / src / LyXSendto.C
index 539755b3a1382101764c7c84167c9bc8c54bab51..e85eee0df0c89e1babd63241af3ae462bbe0d13d 100644 (file)
@@ -52,7 +52,7 @@ void SendtoApplyCB(FL_OBJECT *, long)
     string command = fl_get_input(fd_form_sendto->input_cmd);
     if (command.empty())
         return;
-    Buffer *buffer = current_view->currentBuffer();
+    Buffer * buffer = current_view->buffer();
     if (fl_get_button(fd_form_sendto->radio_ftype_dvi) ||
         fl_get_button(fd_form_sendto->radio_ftype_ps)) {
         ProhibitInput();