mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: change all '$expr' to '${expr}' (#16428)
This commit is contained in:
@@ -36,7 +36,7 @@ pub fn default() string {
|
||||
'/Library/Fonts/Arial.ttf']
|
||||
for font in fonts {
|
||||
if os.is_file(font) {
|
||||
debug_font_println('Using font "$font"')
|
||||
debug_font_println('Using font "${font}"')
|
||||
return font
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ pub fn default() string {
|
||||
for location in font_locations {
|
||||
candidate_path := os.join_path(location, candidate_font)
|
||||
if os.is_file(candidate_path) && os.is_readable(candidate_path) {
|
||||
debug_font_println('Using font "$candidate_path"')
|
||||
debug_font_println('Using font "${candidate_path}"')
|
||||
return candidate_path
|
||||
}
|
||||
}
|
||||
@@ -73,7 +73,7 @@ pub fn default() string {
|
||||
lines := fm.output.split('\n')
|
||||
for l in lines {
|
||||
if !l.contains('.ttc') {
|
||||
debug_font_println('Using font "$l"')
|
||||
debug_font_println('Using font "${l}"')
|
||||
return l
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user