fix: 修复out-height的 bug
This commit is contained in:
parent
9e53d85594
commit
a409074563
@ -168,11 +168,11 @@ public class RtkrcvManager {
|
||||
private String replaceLine(String content, String key, String value){
|
||||
String[] lines = content.split("\n");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String prefix = key + " =";
|
||||
for(String line : lines){
|
||||
if(line.trim().startsWith(key+" =") || line.trim().startsWith(key+" =") || line.trim().startsWith(key+" =")){
|
||||
String t = line.trim();
|
||||
if(t.startsWith(key)){
|
||||
sb.append(key).append(" =").append(value).append("\n");
|
||||
}else{
|
||||
} else {
|
||||
sb.append(line).append("\n");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user