Recent

Author Topic: [SOLVED] Some comment fixes  (Read 2588 times)

lagprogramming

  • Sr. Member
  • ****
  • Posts: 407
[SOLVED] Some comment fixes
« on: August 03, 2023, 12:01:43 pm »
The following patch fixes some comments regarding Lazarus IDE tabs
Code: Pascal  [Select][+][-]
  1. diff --git a/lcl/interfaces/customdrawn/customdrawnprivate.pas b/lcl/interfaces/customdrawn/customdrawnprivate.pas
  2. index 755d7aa8f5..9b9697bcbe 100644
  3. --- a/lcl/interfaces/customdrawn/customdrawnprivate.pas
  4. +++ b/lcl/interfaces/customdrawn/customdrawnprivate.pas
  5. @@ -77,7 +77,7 @@ type
  6.      LCLControl: TCustomTabControl;
  7.    end;
  8.  
  9. -  // Misc
  10. +  // Misc Tab
  11.  
  12.    TCDIntfSpinEdit = class(TCDSpinEdit)
  13.    public
  14. @@ -327,7 +327,7 @@ begin
  15.      // Common Controls Tab
  16.      (AControl is TCDIntfProgressBar) or (AControl is TCDIntfTrackBar) or
  17.      (AControl is TCDIntfPageControl) or
  18. -    // Common Controls Tab
  19. +    // Misc Tab
  20.      (AControl is TCDIntfSpinEdit)
  21.      ;
  22.  end;
« Last Edit: August 04, 2023, 08:49:09 pm by lagprogramming »

AlexTP

  • Hero Member
  • *****
  • Posts: 2479
    • UVviewsoft
Re: Some comment fixes
« Reply #1 on: August 03, 2023, 07:00:48 pm »
Too micro change to post it to bugtracker.

Thaddy

  • Hero Member
  • *****
  • Posts: 16135
  • Censorship about opinions does not belong here.
Re: Some comment fixes
« Reply #2 on: August 03, 2023, 07:42:35 pm »
Maybe an attempt to try a patch? It borders to silly. It is indeed too micro to warrant it and the original is basically correct.
« Last Edit: August 03, 2023, 07:44:20 pm by Thaddy »
If I smell bad code it usually is bad code and that includes my own code.

lagprogramming

  • Sr. Member
  • ****
  • Posts: 407
Re: Some comment fixes
« Reply #3 on: August 04, 2023, 07:15:38 pm »
The patch is fine because it fixes the comments, also making them look alike. The comments refer to the Lazarus IDE tabs. The spinedit is in the Misc tab, not in the Common Controls tab.

wp

  • Hero Member
  • *****
  • Posts: 12456
Re: Some comment fixes
« Reply #4 on: August 04, 2023, 08:08:09 pm »
Applied it to Main and Fixes.

 

TinyPortal © 2005-2018