[haiku-commits] Change in haiku[master]: Fix source code encoding

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 27 Jun 2020 03:09:43 +0000

From X512 <danger_mail@xxxxxxx>:

X512 has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/2955 ;)


Change subject: Fix source code encoding
......................................................................

Fix source code encoding

Make it correctly readable as UTF-8 encoding.

Change-Id: Ifef77aa988b8d45c485927b698526e234711425c
---
M src/add-ons/kernel/busses/scsi/usb/datafab/datafab.c
M src/add-ons/media/media-add-ons/usb_vision/Channels.cpp
M src/add-ons/media/plugins/ffmpeg/gen_lookup.cpp
M src/apps/processcontroller/NoiseBarMenuItem.h
M src/apps/processcontroller/PriorityMenu.h
M src/bin/prio.c
M src/bin/reindex.cpp
7 files changed, 16 insertions(+), 16 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/55/2955/1

diff --git a/src/add-ons/kernel/busses/scsi/usb/datafab/datafab.c 
b/src/add-ons/kernel/busses/scsi/usb/datafab/datafab.c
index 197b591..4982368 100644
--- a/src/add-ons/kernel/busses/scsi/usb/datafab/datafab.c
+++ b/src/add-ons/kernel/busses/scsi/usb/datafab/datafab.c
@@ -71,7 +71,7 @@
 3 X Obsolete
 4-5 X Retired
 6 X Obsolete
-7-8 O V Reserved for assignment by the CompactFlashä Association
+7-8 O V Reserved for assignment by the CompactFlash™ Association
 9 X Retired
 */
   uint16 pad1[9];
@@ -158,7 +158,7 @@
   F 7-0 PIO modes supported
 65 M Minimum Multiword DMA transfer cycle time per word
   F 15-0 Cycle time in nanoseconds
-66 M Manufacturer’s recommended Multiword DMA transfer cycle time
+66 M Manufacturer’s recommended Multiword DMA transfer cycle time
   F 15-0 Cycle time in nanoseconds
 67 M Minimum PIO transfer cycle time without flow control
   F 15-0 Cycle time in nanoseconds
@@ -168,7 +168,7 @@
 71-74 F Reserved for IDENTIFY PACKET DEVICE command.
 75 O Queue depth
   F 15-5 Reserved
-  F 4-0 Maximum queue depth – 1
+  F 4-0 Maximum queue depth â€“ 1
 76-79 F Reserved
 80 M Major version number
   0000h or FFFFh = device does not report version
@@ -338,7 +338,7 @@
   10 = the CSEL signal was used.
   11 = some other method was used or the method is unknown.
   F 0 Shall be set to one.
-94 O V 15-8 Vendor’s recommended acoustic management value.
+94 O V 15-8 Vendor’s recommended acoustic management value.
   V 7-0 Current automatic acoustic management value.
 95-99 F Reserved
 100-103 O V Maximum user LBA for 48-bit Address feature set.
@@ -367,7 +367,7 @@
   device
   V 12 CFA power mode 1 disabled
   F 11-0 Maximum current in ma
-161-175 X Reserved for assignment by the CompactFlashä Association
+161-175 X Reserved for assignment by the CompactFlash™ Association
 176-205 O V Current media serial number
 206-254 F Reserved
 255 M X Integrity word
diff --git a/src/add-ons/media/media-add-ons/usb_vision/Channels.cpp 
b/src/add-ons/media/media-add-ons/usb_vision/Channels.cpp
index 262cab7..04349bf 100644
--- a/src/add-ons/media/media-add-ons/usb_vision/Channels.cpp
+++ b/src/add-ons/media/media-add-ons/usb_vision/Channels.cpp
@@ -59,8 +59,8 @@
   { "76",   535.25}, { "77",   541.25}, { "78",   547.25}, { "79",   553.25}, 
{ "80",   559.25},
   { "81",   565.25}, { "82",   571.25}, { "83",   577.25}, { "84",   583.25}, 
{ "85",   589.25},
   { "86",   595.25}, { "87",   601.25}, { "88",   607.25}, { "89",   613.25}, 
{ "90",   619.25},
-  { "91",   625.25}, { "92",   631.25}, { "93",   637.25}, { "94",   643.25}, 
{ "A­5",  91.25 },
-  { "A­4",  97.25 }, { "A­3",  103.25}, { "A­2",  109.25}, { "A-1",  115.25}, 
{ "100",  649.25},
+  { "91",   625.25}, { "92",   631.25}, { "93",   637.25}, { "94",   643.25}, 
{ "A­5",  91.25 },
+  { "A­4",  97.25 }, { "A­3",  103.25}, { "A­2",  109.25}, { "A-1",  
115.25}, { "100",  649.25},
   { "101",  655.25}, { "102",  661.25}, { "103",  667.25}, { "104",  673.25}, 
{ "105",  679.25},
   { "106",  685.25}, { "107",  691.25}, { "108",  697.25}, { "109",  703.25}, 
{ "110",  709.25},
   { "111",  715.25}, { "112",  721.25}, { "113",  727.25}, { "114",  733.25}, 
{ "115",  739.25},
@@ -86,8 +86,8 @@
   { "76",   534.00}, { "77",   540.00}, { "78",   546.00}, { "79",   552.00}, 
{ "80",   558.00},
   { "81",   564.00}, { "82",   570.00}, { "83",   576.00}, { "84",   582.00}, 
{ "85",   588.00},
   { "86",   594.00}, { "87",   600.00}, { "88",   606.00}, { "89",   612.00}, 
{ "90",   618.00},
-  { "91",   624.00}, { "92",   630.00}, { "93",   636.00}, { "94",   642.00}, 
{ "A­5",  90.00 },
-  { "A­4",  96.00 }, { "A­3",  102.00}, { "A­2",  108.00}, { "A-1",  114.00}, 
{ "100",  648.00},
+  { "91",   624.00}, { "92",   630.00}, { "93",   636.00}, { "94",   642.00}, 
{ "A­5",  90.00 },
+  { "A­4",  96.00 }, { "A­3",  102.00}, { "A­2",  108.00}, { "A-1",  
114.00}, { "100",  648.00},
   { "101",  654.00}, { "102",  660.00}, { "103",  666.00}, { "104",  672.00}, 
{ "105",  678.00},
   { "106",  684.00}, { "107",  690.00}, { "108",  696.00}, { "109",  702.00}, 
{ "110",  708.00},
   { "111",  714.00}, { "112",  720.00}, { "113",  726.00}, { "114",  732.00}, 
{ "115",  738.00},
diff --git a/src/add-ons/media/plugins/ffmpeg/gen_lookup.cpp 
b/src/add-ons/media/plugins/ffmpeg/gen_lookup.cpp
index 4972db9..be906f0 100644
--- a/src/add-ons/media/plugins/ffmpeg/gen_lookup.cpp
+++ b/src/add-ons/media/plugins/ffmpeg/gen_lookup.cpp
@@ -14,9 +14,9 @@
 int shift = 15;

 /*
-       R = 1.164(Y ­ 16) + 1.596(Cr ­ 128)
-       G = 1.164(Y - 16) ­ 0.813(Cr ­ 128) ­ 0.392(Cb ­ 128)
-       B = 1.164(Y ­ 16) + 2.017(Cb ­ 128)
+       R = 1.164(Y - 16) + 1.596(Cr - 128)
+       G = 1.164(Y - 16) - 0.813(Cr - 128) - 0.392(Cb - 128)
+       B = 1.164(Y - 16) + 2.017(Cb - 128)
 */

 int main()
diff --git a/src/apps/processcontroller/NoiseBarMenuItem.h 
b/src/apps/processcontroller/NoiseBarMenuItem.h
index 8032ef8..9c38aa1 100644
--- a/src/apps/processcontroller/NoiseBarMenuItem.h
+++ b/src/apps/processcontroller/NoiseBarMenuItem.h
@@ -3,7 +3,7 @@
        NoiseBarMenuItem.h

        ProcessController
-       © 2000, Georges-Edouard Berenger, All Rights Reserved.
+       Â© 2000, Georges-Edouard Berenger, All Rights Reserved.
        Copyright (C) 2004 beunited.org

        This library is free software; you can redistribute it and/or
diff --git a/src/apps/processcontroller/PriorityMenu.h 
b/src/apps/processcontroller/PriorityMenu.h
index 48a9f29..7614b81 100644
--- a/src/apps/processcontroller/PriorityMenu.h
+++ b/src/apps/processcontroller/PriorityMenu.h
@@ -3,7 +3,7 @@
        PriorityMenu.h

        ProcessController
-       © 2000, Georges-Edouard Berenger, All Rights Reserved.
+       Â© 2000, Georges-Edouard Berenger, All Rights Reserved.
        Copyright (C) 2004 beunited.org

        This library is free software; you can redistribute it and/or
diff --git a/src/bin/prio.c b/src/bin/prio.c
index ff6db01..b479938 100644
--- a/src/bin/prio.c
+++ b/src/bin/prio.c
@@ -1,5 +1,5 @@
 /* prio.c - prio command for BeOs, change priority of a given thread
- * (c) 2001, 2002, François Revol (mmu_man) for OpenBeOS
+ * (c) 2001, 2002, François Revol (mmu_man) for OpenBeOS
  * released under the MIT licence.
  *
  * ChangeLog:
diff --git a/src/bin/reindex.cpp b/src/bin/reindex.cpp
index 319e605..dc39586 100644
--- a/src/bin/reindex.cpp
+++ b/src/bin/reindex.cpp
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2009, Axel Dörfler, axeld@xxxxxxxxxxxxxxxx.
+ * Copyright 2001-2009, Axel Dörfler, axeld@xxxxxxxxxxxxxxxx.
  * This file may be used under the terms of the MIT License.
  */


--
To view, visit https://review.haiku-os.org/c/haiku/+/2955
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Ifef77aa988b8d45c485927b698526e234711425c
Gerrit-Change-Number: 2955
Gerrit-PatchSet: 1
Gerrit-Owner: X512 <danger_mail@xxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: Fix source code encoding - Gerrit