1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 21:15:23 +02:00

trivial bug - need to make sure encoding didn't change before using a cached temp file

This commit is contained in:
David McKnight 2007-11-12 16:09:16 +00:00
parent c702e915b3
commit d12ef1cad9

View file

@ -581,7 +581,9 @@ public class SystemEditableRemoteFile implements ISystemEditableRemoteObject, IP
} }
else else
{ {
if (properties.getUsedBinaryTransfer() == remoteFile.isBinary()) if (properties.getUsedBinaryTransfer() == remoteFile.isBinary() &&
properties.getEncoding().equals(remoteFile.getEncoding()) // changed encodings matter too
)
{ {
// we already have same file, use the current file // we already have same file, use the current file
refresh(); refresh();