mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Thinko
This commit is contained in:
parent
2a8c8b6345
commit
32d8e2ec93
@ -2940,7 +2940,7 @@ string BufferParams::paperSizeName(PapersizePurpose purpose, string const psize)
|
||||
PAPER_SIZE ppsize = psize.empty() ? papersize : papersizetranslator().find(psize);
|
||||
switch (ppsize) {
|
||||
case PAPER_DEFAULT:
|
||||
if (documentClass().pagesize() == "custom")
|
||||
if (documentClass().pagesize() == "default")
|
||||
// could be anything, so don't guess
|
||||
return string();
|
||||
return paperSizeName(purpose, documentClass().pagesize());
|
||||
|
Loading…
Reference in New Issue
Block a user