mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Fix typo
Found by gcc: operation on 'preview_ptr' may be undefined [-Wsequence-point]
This commit is contained in:
parent
ad8e7bb56f
commit
3602baa40c
@ -617,7 +617,7 @@ void InsetExternal::setParams(InsetExternalParams const & p)
|
||||
break;
|
||||
case PREVIEW_INSTANT: {
|
||||
renderer_.reset(new RenderMonitoredPreview(this));
|
||||
RenderMonitoredPreview * preview_ptr = preview_ptr = renderer_->asMonitoredPreview();
|
||||
RenderMonitoredPreview * preview_ptr = renderer_->asMonitoredPreview();
|
||||
preview_ptr->fileChanged(bind(&InsetExternal::fileChanged, this));
|
||||
if (preview_ptr->monitoring())
|
||||
preview_ptr->stopMonitoring();
|
||||
|
Loading…
Reference in New Issue
Block a user